public PostController()
 {
     _postRepo    = new EfPostRepository();
     _appUserRepo = new EfAppUserRepository();
     _likeRepo    = new EfLikeRepository();
     _commentRepo = new EfCommentRepository();
 }
Beispiel #2
0
 public CommentController()
 {
     _commentRepo = new EfCommentRepository();
     _appUserRepo = new EfAppUserRepository();
     _postRepo    = new EfNewsArticleRepository();
     _likeRepo    = new EfLikeRepository();
 }