public OxiteViewModelItemItems <Speaker, ScheduleItem> Item(Speaker speaker) { if (speaker == null) { return(null); } IPageOfItems <ScheduleItem> scheduleItems = scheduleItemService.GetScheduleItems(new ScheduleItemFilterCriteria { SpeakerName = speaker.Name }); return(new OxiteViewModelItemItems <Speaker, ScheduleItem>(speaker, scheduleItems)); }
private OxiteViewModelItemItems <Speaker, ScheduleItem> ItemImpl(SpeakerAddress speakerAddress) { Speaker speaker = speakerService.GetSpeaker(speakerAddress); if (speaker == null) { return(null); } IPageOfItems <ScheduleItem> scheduleItems = scheduleItemService.GetScheduleItems(new ScheduleItemFilterCriteria { SpeakerName = speaker.Name }); return(new OxiteViewModelItemItems <Speaker, ScheduleItem>(speaker, scheduleItems)); }
public OxiteViewModelItems <ScheduleItem> List(ScheduleItemFilterCriteria scheduleItemFilterCriteria) { SetUserScheduleStatus(); return(new OxiteViewModelItems <ScheduleItem>(scheduleItemService.GetScheduleItems(scheduleItemFilterCriteria))); }