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;
 }
Пример #3
0
 public FoodsController(TrackerDbContext context, FoodsService foodsService)
 {
     _context      = context;
     _foodsService = foodsService;
 }
Пример #4
0
 public FoodsController(FoodsService fs)
 {
     _fs = fs;
 }