public RecordsController(RecordsService recordsService, ChildrensService childrensService, FoodsService foodsService, UserManager <ApplicationUser> userManager) { _recordsService = recordsService; _childrensService = childrensService; _foodsService = foodsService; _userManager = userManager; }
public TodayModel(RecordsService recordsService, PeriodsService periodsService, UserManager <ApplicationUser> userManager, FoodsService foodsService, ChildrensService childrensService) { _recordsService = recordsService; _periodsService = periodsService; _userManager = userManager; _foodsService = foodsService; this.childrensService = childrensService; }
public FoodsController(TrackerDbContext context, FoodsService foodsService) { _context = context; _foodsService = foodsService; }
public FoodsController(FoodsService fs) { _fs = fs; }