Beispiel #1
0
 public static SummarySuggestionDto Create(SummarySuggestion summarySuggestion)
 {
     return(new SummarySuggestionDto(
                summarySuggestion.Id,
                SummaryDto.Create(summarySuggestion.Summary),
                summarySuggestion.Status));
 }
Beispiel #2
0
 public SummarySuggestionDto(Int32 id, SummaryDto summary, SuggestionStatus status)
 {
     Id      = id;
     Summary = summary;
     Status  = status;
 }