public PostController() { _postRepo = new EfPostRepository(); _categoryRepo = new EfCategoryRepository(); _appUserRepo = new EfAppUserRepository(); _commentRepo = new EfCommentRepository(); }
public CategoryController() { _repo = new EfCategoryRepository(); }
public NewsArticleController() { _newsRepo = new EfNewsArticleRepository(); _categoryRepo = new EfCategoryRepository(); _appUserRepo = new EfAppUserRepository(); }