Exemplo n.º 1
0
 public CreateProductCommandHandler(IEasyStoreDbContext context, IMediator mediator)
 {
     _context  = context;
     _mediator = mediator;
 }
 public DeleteProductCommandHandler(IEasyStoreDbContext context)
 {
     _context = context;
 }
Exemplo n.º 3
0
 public UpdateCustomerCommandHandler(IEasyStoreDbContext context)
 {
     _context = context;
 }
Exemplo n.º 4
0
 public GetProductQueryHandler(IEasyStoreDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
Exemplo n.º 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;
 }