Files
FrontOffice.BFF/src/FrontOffice.BFF.Application/DiscountShopCQ/Commands/RemoveFromDiscountCart/RemoveFromDiscountCartCommand.cs
masoodafar-web 9a42060653 feat: Add Protobuf definitions for Network Membership service
- Introduced `networkmembership.proto` with RPC methods for retrieving user network tree, statistics, and position.
- Implemented HTTP annotations for gRPC transcoding in the service methods.
- Added support for Google API annotations in `annotations.proto` and `http.proto`.
- Created `ConfigureServices.cs` to register FluentValidation for the Protobuf services.
- Updated project file to include necessary dependencies for gRPC and Protobuf.
2025-12-04 19:53:47 +03:30

19 lines
520 B
C#

namespace FrontOffice.BFF.Application.DiscountShopCQ.Commands.RemoveFromDiscountCart;
/// <summary>
/// حذف محصول از سبد خرید تخفیفی
/// </summary>
public record RemoveFromDiscountCartCommand : IRequest<RemoveFromDiscountCartResponseDto>
{
/// <summary>
/// شناسه محصول
/// </summary>
public long ProductId { get; init; }
}
public class RemoveFromDiscountCartResponseDto
{
public bool Success { get; set; }
public string Message { get; set; } = string.Empty;
}