public UsrDTO(String cemexId, String nUsr, String eMail, IRolDTO rol, IPaisDTO pais, IStaRgDTO staRg) { this.CemexId = cemexId; this.NUsr = nUsr; this.EMail = eMail; this.Rol = rol; this.Pais = pais; this.StaRg = staRg; }
public ExcpDTO(Int32 idEx, Int64 idCliente, ITExcpDTO tEx, String dtVig, IPaisDTO pais, IRolDTO rol, String msgEx, Int64 idEmp) { IdEx = idEx; IdCliente = idCliente; TEx = tEx; DtVig = dtVig; Pais = pais; Rol = rol; MsgEx = msgEx; IdEmp = idEmp; }
public static catRol DTOtoE(IRolDTO rol) { if (rol != null) { catRol eRol = new catRol(); eRol.IdRol = rol.IdRol; eRol.NRol = rol.NRol; return(eRol); } else { return(null); } }
public IRolPTO DTOtoPTO(IRolDTO rol) { return(rol != null ? new RolPTO(rol.IdRol, rol.NRol):null); }