public TobaccoController(ICategoryRepository categoryRepository,
                          ITobaccoRepository tobaccoRepository)
 {
     _categoryRepository = categoryRepository;
     _tobaccoRepository  = tobaccoRepository;
 }
示例#2
0
 public CartController(ITobaccoRepository tobaccoRepository, Cart cart)
 {
     _tobaccoRepository = tobaccoRepository;
     _cart = cart;
 }
示例#3
0
 public HomeController(ITobaccoRepository tobaccoRepository)
 {
     _tobaccoRepository = tobaccoRepository;
 }