public PictureService( UrbanSolutionDbContext db, ICloudImageService cloudinary, IPictureInfoWriterService pictureInfoWriter) { this.db = db; this.cloudService = cloudinary; this.pictureInfoWriter = pictureInfoWriter; }
public PictureService(ICloudImageService cloudinary, IPictureInfoWriterService pictureInfoWriter, IDeletableEntityRepository <CloudinaryImage> imageRepository) { this.cloudService = cloudinary; this.pictureInfoWriter = pictureInfoWriter; this.imageRepository = imageRepository; }