Esempio n. 1
0
 public static Summary ToDomainModel(this SummaryModel summaryModel)
 {
     return(new Summary(summaryModel.Id, summaryModel.Period, summaryModel.Content));
 }
Esempio n. 2
0
 public void ReplaceSummariesWith(SummaryModel newSummary) =>
 ReplaceSummariesWith(new List <SummaryModel> {
     newSummary
 });