public PhotoController() { context = new PhotoSharingContext(); }
public PhotoController(IPhotoSharingContext Context) { context = Context; }
public PhotoController() { db = new PhotoSharingContext(); }
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; }
public AccountController(IPhotoSharingContext context) { _context = context; }
public CommentController(IPhotoSharingContext Context) { context = Context; }
//Constructors public CommentController() { context = new PhotoSharingContext(); }
public PhotoController(IPhotoSharingContext context) { _context = context; }