public OrderController(IOrderService service, IitemCategoryService ItemCategoryService, IRepository <Item> ItemRepo, IRepository <LoafType> loaftypeRepo) { this.service = service; this.ItemCategoryService = ItemCategoryService; itemRepo = ItemRepo; this.loaftypeRepo = loaftypeRepo; }
public HomeController(ILogger <HomeController> logger, IitemCategoryService service) { _logger = logger; this.service = service; }
public ItemCategoryController(IitemCategoryService iitemCategoryService) { this.service = iitemCategoryService; }