public RecipesController(ICookRepository repo, IMapper mapper, IOptions <CloudinarySettings> cloudinaryConfig) { _cloudinaryConfig = cloudinaryConfig; _mapper = mapper; _repo = repo; Account cc = new Account( _cloudinaryConfig.Value.CloudName, _cloudinaryConfig.Value.ApiKey, _cloudinaryConfig.Value.ApiSecret ); _cloudinary = new Cloudinary(cc); }
public ReviewsController(ICookRepository repo, IAuthRepository auth, IMapper mapper) { _mapper = mapper; _auth = auth; _repo = repo; }
public PasswordController(ICookRepository repo, IMapper mapper, IEmailSender emailSender) { _emailSender = emailSender; _repo = repo; _mapper = mapper; }
public NotificationsController(ICookRepository repo, IMapper mapper) { _repo = repo; _mapper = mapper; }
public CookService(ICookRepository cookRepository) { _cookRepository = cookRepository; }
public FollowUsersController(ICookRepository repo, IMapper mapper) { _mapper = mapper; _repo = repo; }