public ActionResult DeleteConfirmed(int id) { _repository.DeleteTaskType(id); return(RedirectToAction("Index")); }