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; }
public AdminController(ISweetRepository repo) { repository = repo; }
public HomeController(ISweetRepository sweetRepository) { _sweetRepository = sweetRepository; }