Example #1
0
 public PostController()
 {
     _postRepo     = new EfPostRepository();
     _categoryRepo = new EfCategoryRepository();
     _appUserRepo  = new EfAppUserRepository();
     _commentRepo  = new EfCommentRepository();
 }
Example #2
0
 public CommentController()
 {
     _commentRepo = new EfCommentRepository();
     _appUserRepo = new EfAppUserRepository();
     _postRepo    = new EfNewsArticleRepository();
     _likeRepo    = new EfLikeRepository();
 }
 public PostController()
 {
     _postRepo    = new EfPostRepository();
     _appUserRepo = new EfAppUserRepository();
     _likeRepo    = new EfLikeRepository();
     _commentRepo = new EfCommentRepository();
 }
 public AppUserController()
 {
     _repo = new EfAppUserRepository();
 }
Example #5
0
 public NewsArticleController()
 {
     _newsRepo     = new EfNewsArticleRepository();
     _categoryRepo = new EfCategoryRepository();
     _appUserRepo  = new EfAppUserRepository();
 }