public UsrPTO(String cemexId, String nUsr, String eMail, IRolPTO rol, IPaisPTO pais, IStaRgPTO staRg) { this.CemexId = cemexId; this.NUsr = nUsr; this.EMail = eMail; this.Rol = rol; this.Pais = pais; this.StaRg = staRg; }
public IRolDTO PTOtoDTO(IRolPTO rol) { return(rol != null ? new RolDTO(rol.IdRol, rol.NRol) : null); }