public PhotosController(IHostingEnvironment host, IMapper mapper, IContext dbContext, IPhotoDAL photoDAL, IOptionsSnapshot <PhotoSetting> options) : base(mapper) { this.host = host; this.dbContext = dbContext; this.photoDAL = photoDAL; this.PhotoSetting = options.Value; }
public PhotoManager(IPhotoDAL photoDAL, ILogger <PhotoManager> logger) { _photoDAL = photoDAL; _logger = logger; }
public PhotoService(IPhotoDAL PhotoDAL) { _PhotoDAL = PhotoDAL; }