public static List <BE_Empresa> Listar_Empresa_x_ID(BE_Empresa pBE_Empresa) { try { return(DA_Empresa.Listar_Empresas_x_ID(pBE_Empresa)); } catch (Exception ex) { throw ex; } }
public static int Actualizar_Empresa(BE_Empresa pBE_Empresa) { int intValor = 0; try { using (TransactionScope ts = new TransactionScope()) { intValor = DA_Empresa.Actualizar_Empresa(pBE_Empresa); ts.Complete(); } intValor = Convert.ToInt32(pBE_Empresa.ID); } catch (Exception ex) { throw ex; } return(intValor); }