public JsonResult DelQuote(int requestId) { try { client.DeleteQuote(requestId); return(Json(new { success = true })); } catch (FaultException ex) { return(Json(new { success = false, message = ex.Message })); } catch (Exception ex) { return(Json(new { success = false, message = ex.Message })); } }