Esempio n. 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;
 }
Esempio n. 2
0
 public CookingController(
     ICookingRecipeRepository cookingRecipeRepository,
     ICookingRecipeService cookingRecipeService,
     ICloudinaryService cloudinaryService,
     IMapper mapper)
 {
     this.cookingRecipeService = cookingRecipeService;
     this.cloudinaryService    = cloudinaryService;
     this.cookingRecipeRepo    = cookingRecipeRepository;
     this.mapper = mapper;
 }
 public CookingRecipeController(ICookingRecipeService cookingRecipeService, UserManager <RadoHubUser> userManager, ICloudinaryService cloudinaryService)
 {
     this.cookingRecipeService = cookingRecipeService;
     this.userManager          = userManager;
     this.cloudinaryService    = cloudinaryService;
 }