public ActionResult DeleteSubType(int id) { _subTypeRepository.Delete(id); return(RedirectToAction("GetAllSubTypes")); }