예제 #1
0
 /// <summary>
 /// Instantiates a new DTO object from the entity
 /// </summary>
 /// <param name="emailTemplate"></param>
 public EmailTemplateDto(EmailTemplate emailTemplate)
 {
     CopyFromModel(emailTemplate);
 }
예제 #2
0
 /// <summary>
 /// To the dto.
 /// </summary>
 /// <param name="value">The value.</param>
 /// <returns></returns>
 public static EmailTemplateDto ToDto(this EmailTemplate value)
 {
     return(new EmailTemplateDto(value));
 }