public static string RemSetor(string id) { try { DAO dao = new DAO(); int rtn = dao.RemSetor(Convert.ToInt32(id)); if (rtn > 0) return "True"; else if (rtn == -1) return "False1"; else return "False2"; } catch (Exception ex) { return ex.Message; } }