public BlogPost GetBlogPostForId(int id) { var repo = new BlogsRepository(_connectionString); var bp = repo.GetBlogPostForId(id); return(bp); }