示例#1
0
 public ImagesService(
     ICloudinaryHelper cloudinaryHelper,
     IApplicationCloudinary cloudinary,
     IDeletableEntityRepository <Image> imagesRepository)
 {
     this.imagesRepository = imagesRepository;
     this.cloudinary       = cloudinary;
     this.imagePathPrefix  = cloudinaryHelper.GetPrefix();
 }
示例#2
0
 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();
 }
示例#3
0
 public MessagesService(IRepository <Message> messagesRepository, ICloudinaryHelper cloudinaryHelper)
 {
     this.messagesRepository = messagesRepository;
     this.imagePathPrefix    = cloudinaryHelper.GetPrefix();
 }