public async Task <ActionResult> DeleteAsync(int id) { await _dbContext.RemovePostAsync(id); return(RedirectToAction("Index")); }