Пример #1
0
 public static VacancySuggestionDto Create(VacancySuggestion vacancySuggestion)
 {
     return(new VacancySuggestionDto(
                vacancySuggestion.Id,
                VacancyDto.Create(vacancySuggestion.Vacancy),
                vacancySuggestion.Status));
 }
Пример #2
0
 public VacancySuggestionDto(Int32 id, VacancyDto vacancy, SuggestionStatus status)
 {
     Id      = id;
     Vacancy = vacancy;
     Status  = status;
 }