Beispiel #1
0
 public PhotoController()
 {
     context = new PhotoSharingContext();
 }
Beispiel #2
0
 public PhotoController(IPhotoSharingContext Context)
 {
     context = Context;
 }
Beispiel #3
0
 public PhotoController()
 {
     db = new PhotoSharingContext();
 }
Beispiel #4
0
 public PhotoController(IPhotoSharingContext Context)
 {
     db = Context;
 }
 //Constructors
 public CommentController()
 {
     context = new PhotoSharingContext();
 }
 public CommentController(IPhotoSharingContext Context)
 {
     context = Context;
 }
 public CommentController(IPhotoSharingContext context)
 {
     this.context = context;
 }
Beispiel #8
0
 public AccountController(IPhotoSharingContext context)
 {
     _context = context;
 }
 public CommentController(IPhotoSharingContext Context)
 {
     context = Context;
 }
 //Constructors
 public CommentController()
 {
     context = new PhotoSharingContext();
 }
Beispiel #11
0
 public PhotoController(IPhotoSharingContext context)
 {
     _context = context;
 }