initial commit
[CPE_learningsite] / CPE / CPE.App / CPE.App.Notify / Models / Partials / PurchasedCoursesDataResult.cs
1 /*
2 Developer: Tyler Allen
3 Date Created: 08/24/2016
4 ---------------------------------------------------
5 */
6 // ReSharper disable once CheckNamespace
7
8 using CPE.App.Notify.Helpers;
9
10 // ReSharper disable once CheckNamespace
11
12 namespace CPE.App.Notify.Models {
13     public partial class PurchasedCoursesDataResult {
14         private string _webcastEmail;
15
16         public string EmailBody {
17             get {
18                 if(_webcastEmail == null) {
19                     _webcastEmail = EmailRenderHelper.RenderEmail(ContentUrl, CertificateDate, Ticket);
20                 }
21                 return _webcastEmail;
22             }
23         }
24     }
25 }