private void LoadFromModel(ExamAwardSeries model) { AwardId = model.AwardId; SeriesId = model.SeriesId; if (model.Award != null) { Award = new ExamAwardModel(model.Award); } if (model.Series != null) { Series = new ExamSeriesModel(model.Series); } }
public ExamAwardSeriesModel(ExamAwardSeries model) : base(model) { LoadFromModel(model); }