public IHttpActionResult newAdmin(int id) { try { BLUsuario bl = new BLUsuario(); return(Ok(bl.newAdmin(id))); } catch (Exception e) { return(Content(HttpStatusCode.InternalServerError, e.Message)); } }