internal IEnumerable <Blog> GetAllBlogs() { return(_repo.GetAllBlogs()); }
public async Task <List <BlogPost> > List() { IEnumerable <BlogPost> blogs = await _BlogsRepository.GetAllBlogs(); return(blogs.ToList()); }