示例#1
0
 public PhotoController(PhotoDBContext context)
 {
     unitOfWork = new UnitOfWork(context);
 }
 public CommentController()
 {
     unitOfWork = new UnitOfWork();
 }
示例#3
0
 public PhotoController()
 {
     unitOfWork = new UnitOfWork();
 }
示例#4
0
 public AlbumController()
 {
     unitOfWork = new UnitOfWork(new PhotoDBContext());
 }