public IActionResult Delete(int id)
 {
     ContentRepository.DeletePost(id);
     return(RedirectToAction("index"));
 }