public static OutcomeEntity OutcomeDCConvertirOutcomeBE(OutcomeDC oOutcomeDC) { try { OutcomeEntity oOutcomeBE = new OutcomeEntity(); oOutcomeBE.OutcomeId = oOutcomeDC.OutcomeId; oOutcomeBE.OutcomeNombre = oOutcomeDC.OutcomeNombre; return oOutcomeBE; } catch (Exception ex) { throw ex; } }
public static OutcomeDC OutcomeBEConvertirOutcomeDC(OutcomeEntity oOutcomeBE) { try { OutcomeDC oOutcomeDC = new OutcomeDC(); oOutcomeDC.OutcomeId = oOutcomeBE.OutcomeId; oOutcomeDC.OutcomeNombre = oOutcomeBE.OutcomeNombre; oOutcomeDC.OutcomeDescripcion = oOutcomeBE.OutcomeDescripcion; return oOutcomeDC; } catch (Exception ex) { throw ex; } }