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