public ImagesService( ICloudinaryHelper cloudinaryHelper, IApplicationCloudinary cloudinary, IDeletableEntityRepository <Image> imagesRepository) { this.imagesRepository = imagesRepository; this.cloudinary = cloudinary; this.imagePathPrefix = cloudinaryHelper.GetPrefix(); }
public UsersService( ICitiesService citiesService, ICountriesService countriesService, ISportsService sportsService, IImagesService imagesService, ICloudinaryHelper cloudinaryHelper, IDeletableEntityRepository <ApplicationUser> usersRepository, IRepository <EventUser> eventsUsersRepository, IEmailSender emailSender) { this.citiesService = citiesService; this.countriesService = countriesService; this.sportsService = sportsService; this.imagesService = imagesService; this.usersRepository = usersRepository; this.eventsUsersRepository = eventsUsersRepository; this.emailSender = emailSender; this.imagePathPrefix = cloudinaryHelper.GetPrefix(); }
public MessagesService(IRepository <Message> messagesRepository, ICloudinaryHelper cloudinaryHelper) { this.messagesRepository = messagesRepository; this.imagePathPrefix = cloudinaryHelper.GetPrefix(); }