public JsonResult Delete(int id) { try { db.DeleteConsulta(id); return(Json("OK")); } catch (Exception ex) { return(Json(ex.Message)); } }
public JsonResult Delete(int id) { try { db.DeleteConsulta(id); return(Json("OK")); } catch (Exception ex) { return(Json(ex.Message)); } }