public NoteCaloriesCountValueResolver(ICaloriesCalculator caloriesCalculator) { _caloriesCalculator = caloriesCalculator ?? throw new ArgumentNullException(nameof(caloriesCalculator)); }