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