public ImageController(
     IHostingEnvironment environment,
     IImage image,
     SimpleGalleryDbContext context
     )
 {
     _image       = image;
     _environment = environment;
     _context     = context;
 }
Beispiel #2
0
 public GalleryController(SimpleGalleryDbContext context)
 {
     _context = context;
 }
 public ImageService(SimpleGalleryDbContext ctx)
 {
     _ctx = ctx;
 }
 public UploadImageController(SimpleGalleryDbContext context, IWebHostEnvironment appEnvironment)
 {
     _context        = context;
     _appEnvironment = appEnvironment;
 }