public IHttpActionResult Modificar(Colegios ObjColegio) { try { TecnicaBl obj = new TecnicaBl(); var Datos = obj.Modificar(ObjColegio.Id); if (Datos != null) { return(Ok(new { success = true, datos = Datos })); } else { return(Ok(new { success = false })); } } catch (Exception exc) { return(Ok(new { success = false, exc = exc.Message })); } }