public IActionResult Delete(int id) { var blog = _blogData.GetBlog(id); _blogData.DeleteBlog(blog); return(RedirectToAction("Index", "Profile")); }