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