Exemple #1
0
 public CartController(ISweetRepository repo, IOrderProcessor processor)
 {
     repository     = repo;
     orderProcessor = processor;
 }
 public SweetsController(ISweetRepository repo)
 {
     repository = repo;
 }
 public SweetController(ISweetRepository repo1, ISwCatRepository repo2, ICategoryRepository repo3)
 {
     sweetRepo    = repo1;
     swCatRepo    = repo2;
     categoryRepo = repo3;
 }
Exemple #4
0
 public AdminController(ISweetRepository repo)
 {
     repository = repo;
 }
Exemple #5
0
 public HomeController(ISweetRepository sweetRepository)
 {
     _sweetRepository = sweetRepository;
 }