Added lazy loading and fixed private properties not deserializing

This commit is contained in:
Giovani
2019-05-01 10:13:05 -05:00
parent 783e251c97
commit 63fb52de6b
10 changed files with 28 additions and 27 deletions

View File

@@ -12,7 +12,7 @@ namespace BrightGlimmer.Domain
public string Description { get; set; }
public string Code { get; set; }
private Course() { }
protected Course() { }
public Course(string name, string description, string code)
{