public DishRepository(IDishTypeRepository dishTypeRepository, ITimeOfDayRepository timeOfDayRepository) { TimeOfDay = new TimeOfDayRepository(); DishType = new DishTypeRepository(); _dishTypeRepository = dishTypeRepository; _timeOfDayRepository = timeOfDayRepository; }
public AdminDishController(IDishTypeRepository repoType, IDishRepository repoDish, IDishAvailabilityRepository repoAvail, IPartnerRepository repoPartner) { _repoType = repoType; _repoDish = repoDish; _repoAvail = repoAvail; _repoPartner = repoPartner; }
public DishController(IDishRepository dishRepository, IDishTypeRepository typeRepository, IDishAvailabilityRepository availabilityRepository, UserManager <CustomUser> userManager, IPartnerRepository partnerRepository) { _dishRepo = dishRepository; _typeRepo = typeRepository; _availRepo = availabilityRepository; _userManager = userManager; _partnerRepo = partnerRepository; }
public Repository( IDishRepository dishRepository, ITimeOfDayRepository timeOfDayRepository, IDishTypeRepository dishTypeRepository) { _dishRepository = dishRepository; _timeOfDayRepository = timeOfDayRepository; _dishTypeRepository = dishTypeRepository; }
public DishService(IDishRepository dishRepository, IDishTypeRepository dishTypeRepository) { _dishRepository = dishRepository; _dishTypeRepository = dishTypeRepository; }
public DishTypeController(IDishTypeRepository t) { _types = t; }