Example #1
0
 public CreateProductCommandHandler(IEasyStoreDbContext context, IMediator mediator)
 {
     _context  = context;
     _mediator = mediator;
 }
 public DeleteProductCommandHandler(IEasyStoreDbContext context)
 {
     _context = context;
 }
Example #3
0
 public UpdateCustomerCommandHandler(IEasyStoreDbContext context)
 {
     _context = context;
 }
Example #4
0
 public GetProductQueryHandler(IEasyStoreDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
Example #5
0
 public GetProductsListQueryHandler(IEasyStoreDbContext context, IMapper mapper, IAppLogger <GetProductsListQueryHandler> logger)
 {
     _context = context;
     _mapper  = mapper;
     _logger  = logger;
 }
 public GetCustomersListQueryHandler(IEasyStoreDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 public CreateCustomerCommandHandler(IEasyStoreDbContext context, IMediator mediator)
 {
     _context  = context;
     _mediator = mediator;
 }