public ActionResult Delete(int id)
 {
     try
     {
         repo.DeleteById(id);
         return(Json(repo.GetAll()));
     }
     catch
     {
         return(View());
     }
 }