using MediatR; using Microsoft.AspNetCore.Http; namespace Features.ImageUploads.Commands.UploadPhoto; /// /// Uploads a new photo to storage under {Key}/{generated photo id} and records it. Sent by /// other features' handlers (e.g. a brewery photo upload command) rather than bound from a request /// directly, since this feature exposes no controller of its own. /// public record UploadPhotoCommand(Guid UploadedById, string Key, IFormFile File) : IRequest;