Beispiel #1
0
 /// <summary>
 /// Instantiates a new DTO object from the entity
 /// </summary>
 /// <param name="pageContext"></param>
 public PageContextDto(PageContext pageContext)
 {
     CopyFromModel(pageContext);
 }
Beispiel #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));
 }