public PhotosEFController(PhotoSharingApplicationContext context,
                           IMemoryCache cache,
                           IAuthorizationService authorizationService)
 {
     _context   = context;
     this.cache = cache;
     this.authorizationService = authorizationService;
 }
Exemple #2
0
 public PhotosRepository(PhotoSharingApplicationContext context)
 {
     this.context = context;
 }
Exemple #3
0
 public PictureController(PhotoSharingApplicationContext context, IMemoryCache cache)
 {
     this.context = context;
     this.cache   = cache;
 }
 public CommentsController(PhotoSharingApplicationContext context)
 {
     _context = context;
 }