public IngredientsService(IHomeMadeFoodData data, IFoodCategoriesService foodCategoriesService) { Guard.WhenArgument(data, "data").IsNull().Throw(); this.data = data; Guard.WhenArgument(foodCategoriesService, "foodCategoriesService").IsNull().Throw(); this.foodCategoriesService = foodCategoriesService; }
public RecipesService(IHomeMadeFoodData data, IIngredientsService ingredientsService) { Guard.WhenArgument(data, "data").IsNull().Throw(); this.data = data; Guard.WhenArgument(ingredientsService, "ingredientsService").IsNull().Throw(); this.ingredientsService = ingredientsService; }
public DailyMenuService(IHomeMadeFoodData data, IRecipesService recipeService) { Guard.WhenArgument(data, "data").IsNull().Throw(); this.data = data; Guard.WhenArgument(recipeService, "recipeService").IsNull().Throw(); this.recipeService = recipeService; }
public UsersService(IHomeMadeFoodData data) { Guard.WhenArgument(data, "data").IsNull().Throw(); this.data = data; }