public static String Update(String Id, String Grupo, String Codigo, String Nombre, String Padre) { try { var item = new GrupoDetalleBean { IdGrupoDetalle = int.Parse(Id), IdGrupo = int.Parse(Grupo), Codigo = Codigo, Nombre = Nombre, IdCodigoDetallePadre = Padre, }; GrupoDetalleController.Update(item); return("OK"); } catch (Exception ex) { LogHelper.LogException(ex, "Error :General_Update : "); throw new Exception("ERROR: " + ex.Message); } }