Files
the-biergarten-app/web/backend/Features/Features.Breweries/Commands/DeleteBrewery/DeleteBreweryCommand.cs

7 lines
296 B
C#

using MediatR;
namespace Features.Breweries.Commands.DeleteBrewery;
/// <summary>Deletes a brewery post. <see cref="BreweryPostId" /> is bound from the route of <c>DELETE /api/brewery/{id}</c>.</summary>
public record DeleteBreweryCommand(Guid BreweryPostId, Guid RequestingUserId) : IRequest;