public Handler( DietContext context, ICurrentAccountProvider currentAccount, ICaloriesService caloriesService) { _context = context; _currentAccount = currentAccount; _caloriesService = caloriesService; }
public HomeController( IIdentityService identityService, IRecipesService recipesService, IWorkoutsService workoutsService, ICurrentUserService currentUser, IMapper mapper, IMealsService mealsService, ICaloriesService caloriesService, IUserHistoryService userHistory) { this.identityService = identityService; this.recipesService = recipesService; this.workoutsService = workoutsService; this.currentUser = currentUser; this.mapper = mapper; this.mealsService = mealsService; this.caloriesService = caloriesService; this.userHistory = userHistory; }