public void SortSessions(IConference conference, List <SessionDisplayModel> sessions) { if (conference.CanVote()) { _votingSort.Sort(sessions); } else { _defaultSort.Sort(sessions); } }
public void SortSessions(IConference conference, List<SessionDisplayModel> sessions) { if (conference.CanVote()) { _votingSort.Sort(sessions); } else { _defaultSort.Sort(sessions); } }
public ConferenceLoaderBuilder WithVotingOpen() { conference.CanVote().Returns(true); return(this); }