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