Exemple #1
0
 public JsonResult Delete(int id)
 {
     try
     {
         _iFByod.Delete(id);
         return Json(true);
     }
     catch
     {
         return Json(false);
     }
 }
Exemple #2
0
 public JsonResult Delete(int id)
 {
     try
     {
         _iFByod.Delete(id);
         return(Json(true));
     }
     catch (Exception ex)
     {
         return(Json(false));
     }
 }
Exemple #3
0
 public ActionResult Delete(Byod byod)
 {
     try
     {
         _iFByod.Delete(byod);
         return(Json(""));
     }
     catch (Exception ex)
     {
         return(Json(ex));
     }
 }