public RecipesService( IDeletableEntityRepository <Recipe> recipesRepository, IDeletableEntityRepository <CookingMethod> cookingMethodRepository, IIngredientsService ingredientsService, ICloudinaryService cloudinaryService, IUsersService usersService, ICategoriesService categoriesService, ICuisinesService cuisinesService, ICookingMethodsService cookingMethodsService, IImagesService imagesService, ICommentsService commentsService, IRatingsService ratingsService) { this.recipesRepository = recipesRepository; this.cookingMethodsRepository = cookingMethodRepository; this.ingredientsService = ingredientsService; this.cloudinaryService = cloudinaryService; this.usersService = usersService; this.categoriesService = categoriesService; this.cuisinesService = cuisinesService; this.cookingMethodsService = cookingMethodsService; this.imagesService = imagesService; this.commentsService = commentsService; this.ratingsService = ratingsService; }
public RecipesController( IRecipesService recipesService, ICategoriesService categoriesService, ICookingMethodsService cookingMethodsService, ICuisinesService cuisinesService, UserManager <ApplicationUser> userManager, IUsersService usersService) { this.recipesService = recipesService; this.categoriesService = categoriesService; this.cookingMethodsService = cookingMethodsService; this.cuisinesService = cuisinesService; this.userManager = userManager; this.usersService = usersService; }
public CookingMethodsController(ICookingMethodsService cookingMethodService) { this.cookingMethodService = cookingMethodService; }