public PublicController(IPublicService publicService, IRestaurantService restService, IRestaurantAddressService restAddService, IItemService itemService) { this.restService = restService; this.publicService = publicService; this.restAddService = restAddService; this.itemService = itemService; Orders = new List <Order>(); }
public TransporterController(IRestaurantService restService, IInvoiceService invService, IOrderService orderService, IRestaurantAddressService restAddService, ITransporterService transporterService, IUserService userService) { this.restAddService = restAddService; this.restService = restService; this.invService = invService; this.orderService = orderService; this.transporterService = transporterService; this.userService = userService; }
public CustomerController(IRestaurantService restService, IRestaurantAddressService restAddService, IOrderService ordService, IInvoiceService invService, ICustomerService custService, IItemService itemService) { this.Orders = new List <Order>(); this.custService = custService; this.restService = restService; this.orderService = ordService; this.restAddService = restAddService; this.itemService = itemService; this.invService = invService; }
public AdminController(IAdminService adminrepo, ICustomerService custrepo, IRestaurantService restrepo, IUserService userRepo, ITransporterService trepo, IInvoiceService irepo, IOrderService orepo, IItemService itemrepo, IRestaurantAddressService restAddService) { this.adminrepo = adminrepo; this.custrepo = custrepo; this.restrepo = restrepo; this.userRepo = userRepo; this.trepo = trepo; this.irepo = irepo; this.orepo = orepo; this.itemrepo = itemrepo; this.restAddService = restAddService; }