Esempio n. 1
0
 public PhotoAwardsBll(IUserDal usersDAL, IAwardDal awardsDAL, IPhotographerDal photographerDal, IJuryDal juryDal, IPhotoDal photoDal)
 {
     _usersDal         = usersDAL;
     _awardsDal        = awardsDAL;
     _photographersDal = photographerDal;
     _juryDal          = juryDal;
     _photoDal         = photoDal;
 }
        public PhotoManager(IOptions <CloudinarySettings> cloudinarySettings, IMapper mapper, IPhotoDal photoDal, IHttpContextAccessor httpContext, IUserDal userDal)
        {
            this.userDal            = userDal;
            this.httpContext        = httpContext;
            this.photoDal           = photoDal;
            this.mapper             = mapper;
            this.cloudinarySettings = cloudinarySettings;

            Account acc = new Account(
                cloudinarySettings.Value.CloudName,
                cloudinarySettings.Value.ApiKey,
                cloudinarySettings.Value.ApiSecret
                );

            _cloudinary = new Cloudinary(acc);
        }
Esempio n. 3
0
 public CarImageManager(IPhotoDal photoDal)
 {
     _photoDal = photoDal;
 }
Esempio n. 4
0
 public PhotoManager(IPhotoDal photoDal)
 {
     _photoDal = photoDal;
 }
Esempio n. 5
0
 public PhotoService(IPhotoDal photoDal)
 {
     _photoDal = photoDal;
 }
Esempio n. 6
0
 public PhotoManager(IPhotoDal photoDal)
 {
     this.photoDal = photoDal;
 }