示例#1
0
 public CreateModel(PhotoSharingApplication.Web.RazorPages.Data.PhotoSharingApplicationContext context)
 {
     _context = context;
 }
示例#2
0
 public DeleteModel(PhotoSharingApplication.Web.RazorPages.Data.PhotoSharingApplicationContext context,
                    IAuthorizationService authorizationService)
 {
     _context = context;
     _authorizationService = authorizationService;
 }