public PagePTO(Int32 idPage, String descPage, String url, String appName, ITPagePTO tPage) { this.IdPage = idPage; this.DescPage = descPage; this.Url = url; this.AppName = appName; this.TPage = tPage; }
public ITPageDTO PTOtoDTO(ITPagePTO tPage) { return(tPage != null ? new TPageDTO(tPage.IdTPage, tPage.DescTPage) : null); }