17 lines
536 B
C#
17 lines
536 B
C#
|
|
namespace FrontOffice.BFF.Application.ShopingCartCQ.Commands.AddNewUserCart;
|
||
|
|
public class AddNewUserCartCommandHandler : IRequestHandler<AddNewUserCartCommand, Unit>
|
||
|
|
{
|
||
|
|
private readonly IApplicationContractContext _context;
|
||
|
|
|
||
|
|
public AddNewUserCartCommandHandler(IApplicationContractContext context)
|
||
|
|
{
|
||
|
|
_context = context;
|
||
|
|
}
|
||
|
|
|
||
|
|
public async Task<Unit> Handle(AddNewUserCartCommand request, CancellationToken cancellationToken)
|
||
|
|
{
|
||
|
|
//TODO: Implement your business logic
|
||
|
|
return new Unit();
|
||
|
|
}
|
||
|
|
}
|