public ShoppingCartController(ICakeRepository cakerepository, ShoppingCart shoppingCart)
 {
     _cakerepository = cakerepository;
     _shoppingCart   = shoppingCart;
 }
Пример #2
0
 public AuthController(IAuthRepository repo, IConfiguration config, ICakeRepository cakeRepo)
 {
     _config   = config;
     _repo     = repo;
     _cakeRepo = cakeRepo;
 }
Пример #3
0
 // get an icakerepository as in input to constructor
 public HomeController(ICakeRepository cakeRepository)
 {
     _cakeRepository = cakeRepository;
 }
Пример #4
0
 public ColumnsController(ICakeRepository repo, IMapper mapper)
 {
     _mapper = mapper;
     _repo   = repo;
 }
 public ShoppingCartController(IPieRepository pieRepository, ICakeRepository cakeRepository, ShoppingCart shoppingCart)
 {
     _pieRepository  = pieRepository;
     _cakeRepository = cakeRepository;
     _shoppingCart   = shoppingCart;
 }
Пример #6
0
 public NavigationController(ICakeRepository cakeRepo)
 {
     cakeRepository = cakeRepo;
 }
Пример #7
0
 public BasketController(ICakeRepository repo, IOrderProcessor processor)
 {
     repository     = repo;
     orderProcessor = processor;
 }
Пример #8
0
 public ShoppingCartController(ICakeRepository cakeRepository, Cart cart)
 {
     this.cakeRepository = cakeRepository;
     this.cart           = cart;
 }
Пример #9
0
 public HomeController(AppDbContext context, ICategoryRepository categoryRepository, ICakeRepository cakeRepository)
 {
     this.context            = context;
     this.categoryRepository = categoryRepository;
     this.cakeRepository     = cakeRepository;
 }
 public ShoppingCartController(ICakeRepository cakeRepository, IShoppingCartService shoppingCart)
 {
     _cakeRepository = cakeRepository;
     _shoppingCart   = shoppingCart;
 }
Пример #11
0
 public CakeController(ICakeRepository CakeRepository, ICategoryRepository categoryRepository, IWebHostEnvironment webHostEnvironment)
 {
     _CakeRepository     = CakeRepository;
     _categoryRepository = categoryRepository;
     _webHostEnvironment = webHostEnvironment;
 }
Пример #12
0
 public DefaultController(ICakeRepository cakeRepository, IShoppingCartService shoppingCart, IOrderRepository orderRepository)
 {
     _cakeRepository  = cakeRepository;
     _shoppingCart    = shoppingCart;
     _orderRepository = orderRepository;
 }
Пример #13
0
 public CakeService(ICakeRepository cakeRepository)
 {
     _cakeRepository = cakeRepository;
 }
 public CakeController(ICakeRepository cakeRepository)
 {
     this.cakeRepository = cakeRepository;
 }
Пример #15
0
 public HomeController(ICakeRepository cakeRepository, IVisitRepository visitRepository)
 {
     this.cakeRepository  = cakeRepository;
     this.visitRepository = visitRepository;
 }
 public CakeController(ICakeRepository cakeRepository, IRatingRepository ratingRepository, ICategoryRepository categoryRepository)
 {
     _cakeRepository     = cakeRepository;
     _ratingRepository   = ratingRepository;
     _categoryRepository = categoryRepository;
 }
Пример #17
0
 public HomeController(ICakeRepository cakeRepository, IGalleryRepository galleryRepository)
 {
     _cakeRepository    = cakeRepository;
     _galleryRepository = galleryRepository;
 }
Пример #18
0
 public CakesController(ICakeRepository cakeRepo,
                        IUnitOfWork unitOfWork)
 {
     _cakeRepo   = cakeRepo;
     _unitOfWork = unitOfWork;
 }
 public CakeController(ICakeRepository cakeRepository, ICategoryRepository categoryRepository)
 {
     this.cakeRepository    = cakeRepository;
     this.categoryRepoitory = categoryRepository;
 }
Пример #20
0
 public CakeController(ICakeRepository cakerepo, ICategoryRepository categoryrepo)
 {
     _CakeRepository     = cakerepo;
     _CategoryRepository = categoryrepo;
 }
 public async Task <Cake> LoadCake(ICakeRepository cakeRepository)
 {
     return(await cakeRepository.GetCakeById(CakeId));
 }
Пример #22
0
 public CakeController(ICakeRepository repository)
 {
     cakeRepository = repository;
 }
Пример #23
0
 public AdminController(ICakeRepository repository)
 {
     cakeRepository = repository;
 }
 public CakeListModel(ICakeRepository cakeRepository)
 {
     this.cakeRepository = cakeRepository;
 }
 public EditModel(ICakeRepository cakeRepository)
 {
     this.cakeRepository = cakeRepository;
 }
 public ShoppingCartController(ICakeRepository cakeRepository,
                               IShoppingCartRepository shoppingCartRepository)
 {
     _cakeRepository         = cakeRepository;
     _shoppingCartRepository = shoppingCartRepository;
 }
Пример #27
0
 public AdminController(ICoffeeRepository coffeeRepository, ICakeRepository cakeRepository, IDrinksRepository drinksRepository)
 {
     _coffeeRepository = coffeeRepository;
     _cakeRepository   = cakeRepository;
     _drinksRepository = drinksRepository;
 }
Пример #28
0
 public HomeController(ILogger <HomeController> logger, IPieRepository pieRepository, ICakeRepository cakeRepository)
 {
     _pieRepository  = pieRepository;
     _logger         = logger;
     _cakeRepository = cakeRepository;
 }
Пример #29
0
 public CakeController(ICakeRepository cakeRepository, ICategoryRepository categoryRepository)
 {
     _cakeRepository     = cakeRepository;
     _categoryRepository = categoryRepository;
 }
Пример #30
0
 public HomeController(ICakeRepository CakeRepository)
 {
     _cakeRespository = CakeRepository;
 }