Пример #1
0
 public HomeController(ILogger <HomeController> logger,
                       ICookingRecipeService cookingRecipeService,
                       ICloudinaryService cloudinaryService,
                       IInspirationRepository inspirationRepository)
 {
     this._logger = logger;
     this.cookingRecipeService  = cookingRecipeService;
     this.cloudinaryService     = cloudinaryService;
     this.inspirationRepository = inspirationRepository;
 }
Пример #2
0
 public CookingController(
     ICookingRecipeRepository cookingRecipeRepository,
     ICookingRecipeService cookingRecipeService,
     ICloudinaryService cloudinaryService,
     IMapper mapper)
 {
     this.cookingRecipeService = cookingRecipeService;
     this.cloudinaryService    = cloudinaryService;
     this.cookingRecipeRepo    = cookingRecipeRepository;
     this.mapper = mapper;
 }
Пример #3
0
 public CookingRecipeController(ICookingRecipeService cookingRecipeService, UserManager <RadoHubUser> userManager, ICloudinaryService cloudinaryService)
 {
     this.cookingRecipeService = cookingRecipeService;
     this.userManager          = userManager;
     this.cloudinaryService    = cloudinaryService;
 }