// GET: News/Details/5 public async Task <IActionResult> Details(int id) { return(View(_PostRepo.Get(id))); }