public CreateBaseProductCommandHandler(
     SmartGroceryContext context,
     IMapper mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }
Beispiel #2
0
 public UpdateTransactionCommandhandler(
     IMapper mapper,
     SmartGroceryContext context,
     ProductUpdater productUpdater)
 {
     this.mapper         = mapper;
     this.context        = context;
     this.productUpdater = productUpdater;
 }
Beispiel #3
0
 public CreateTransactionCommandHandler(
     IMapper mapper,
     SmartGroceryContext context,
     ProductUpdater productUpdater,
     CustomerUpdater customerUpdater)
 {
     this.mapper          = mapper;
     this.context         = context;
     this.productUpdater  = productUpdater;
     this.customerUpdater = customerUpdater;
 }
Beispiel #4
0
 public GetBaseProductByIdQueryHandler(SmartGroceryContext context, IMapper mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }
Beispiel #5
0
 public DeleteTransactionCommandHandler(SmartGroceryContext context, ProductUpdater productUpdater)
 {
     this.context        = context;
     this.productUpdater = productUpdater;
 }
 public DeleteProductCommandHandler(SmartGroceryContext context)
 {
     this.context = context;
 }
Beispiel #7
0
 public GetTransactionByIdQueryHandler(IMapper mapper, SmartGroceryContext context)
 {
     this.mapper  = mapper;
     this.context = context;
 }
 public CustomerUpdater(SmartGroceryContext context)
 {
     this.context = context;
 }
Beispiel #9
0
 public SearchCustomerByCustomerNumberQueryHandler(SmartGroceryContext context, IMapper mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }
Beispiel #10
0
 public GetAllCustomerQueryHandler(SmartGroceryContext context, IMapper mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }
 public GetAllProductsQueryHandler(SmartGroceryContext context, IMapper mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }
 public GetProductByNumberQueryHandler(SmartGroceryContext context, IMapper mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }
 public GetAllTransactionsQueryHandler(SmartGroceryContext context, IMapper mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }
Beispiel #14
0
 public EditProductCommnandHandler(SmartGroceryContext context)
 {
     this.context = context;
 }
Beispiel #15
0
 public EditCustomerCommandHandler(SmartGroceryContext context, IMapper mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }
 public ProductUpdater(SmartGroceryContext context, IMapper mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }