コード例 #1
0
 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;
 }
コード例 #2
0
 public PhotoManager(IPhotoDAL photoDAL, ILogger <PhotoManager> logger)
 {
     _photoDAL = photoDAL;
     _logger   = logger;
 }
コード例 #3
0
 public PhotoService(IPhotoDAL PhotoDAL)
 {
     _PhotoDAL = PhotoDAL;
 }