public static Int32 InsertEtapa(OportunidadBean item) { try { var valor = OportunidadModel.InsertEtapa(item); if (item.CambiaEtapa == "T") { try { //OportunidadController.NotificarOportunidad(item.id); } catch (Exception ex) { Logger.log(ex, ex.Message); } } return(valor); } catch (Exception ex) { throw new Exception(ex.Message); } }