public IActionResult Delete(int Id) { var b = repository.Delet(Id); return(RedirectToAction("AllSubCategory")); }