public RecordingFormViewModel CreateFormViewModel() { RecordingFormViewModel model = new RecordingFormViewModel(); model.Groups = groupManagementService.GetAll(); model.Speakers = speakerManagementService.GetAll(); model.Statuses = statusManagementService.GetAll(); return model; }
public RecordingFormViewModel GetRecordings() { RecordingFormViewModel viewModel = new RecordingFormViewModel(); viewModel.Recordings = recordingRepository.GetRecordingSummaries(); return viewModel; }