public async Task <IActionResult> DelteConfirmed(int id) { if (orm == 1) { db.rmSpecialTag(id); } else { Special_Tags st = await _db.SpecialTags.FindAsync(id); _db.Remove(st); await _db.SaveChangesAsync(); } TempData["delete"] = 1; return(RedirectToAction("Index")); }