public async Task <ActionResult <IEnumerable <BlogPosts> > > GetBlogPosts() { var blogposts = await _service.ReadAll(); return(Ok(blogposts)); }