示例#1
0
 /// <summary>
 /// Instantiates a new DTO object from the entity
 /// </summary>
 /// <param name="pageContext"></param>
 public PageContextDto(PageContext pageContext)
 {
     CopyFromModel(pageContext);
 }
示例#2
0
 /// <summary>
 /// To the dto.
 /// </summary>
 /// <param name="value">The value.</param>
 /// <returns></returns>
 public static PageContextDto ToDto(this PageContext value)
 {
     return(new PageContextDto(value));
 }