public UpdateSandwichCommandHandler(ISandwichRepository repository, IIngredientRepository ingredientRepository, IUnitOfWork unitOfWork, IAppUIContext appUIContext) { _appContext = appUIContext; _unitOfWork = unitOfWork; _repository = repository; _ingredientRepository = ingredientRepository; }
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; }
public HomeController(ISandwichRepository sandwichRepository) { _sandwichRepository = sandwichRepository; }
public ListSandwichCommandHandler(ISandwichRepository repository) { _repository = repository; }
public ShoppingCartController(ISandwichRepository sandwichRepository, ShoppingCart shoppingCart) { _sandwichRepository = sandwichRepository; _shoppingCart = shoppingCart; }
public SandwichController(ISandwichRepository sandwichRepository, ICategoryRepository categoryRepository) { _sandwichRepository = sandwichRepository; _categoryRepository = categoryRepository; }