示例#1
0
 public UpdateSandwichCommandHandler(ISandwichRepository repository, IIngredientRepository ingredientRepository, IUnitOfWork unitOfWork, IAppUIContext appUIContext)
 {
     _appContext           = appUIContext;
     _unitOfWork           = unitOfWork;
     _repository           = repository;
     _ingredientRepository = ingredientRepository;
 }
示例#2
0
 public CreateOrderCommandHandler(IOrderRepository orderRepository, IOrderSandwichRepository orderSandwichRepository, IIngredientRepository ingredientRepository, IPriceRuleRepository priceRuleRepository, ISandwichRepository sandwichRepository, IUnitOfWork unitOfWork, IAppUIContext appUIContext)
 {
     _appContext              = appUIContext;
     _unitOfWork              = unitOfWork;
     _orderRepository         = orderRepository;
     _orderSandwichRepository = orderSandwichRepository;
     _ingredientRepository    = ingredientRepository;
     _priceRuleRepository     = priceRuleRepository;
     _sandwichRepository      = sandwichRepository;
 }
示例#3
0
 public UpdateIngredientCommandHandler(IIngredientRepository repository, IUnitOfWork unitOfWork, IAppUIContext appUIContext)
 {
     _appContext = appUIContext;
     _unitOfWork = unitOfWork;
     _repository = repository;
 }
示例#4
0
 public UpdateOrderCommandHandler(IOrderRepository orderRepository, IUnitOfWork unitOfWork, IAppUIContext appUIContext)
 {
     _appContext      = appUIContext;
     _unitOfWork      = unitOfWork;
     _orderRepository = orderRepository;
 }