public StudentsRepository(IDataSorter sorter, IDataFilter filter) { this.filter = filter; this.sorter = sorter; }
public void UnloadData() { if (!this.IsDataInitialized) { throw new ArgumentException(ExceptionMessages.DataNotInitializedExceptionMessage); } this.sorter = null; this.courses = null; this.isDataInitialized = false; }
public StudentsRepository(IDataFilter filter, IDataSorter sorter) { this.filter = filter; this.sorter = sorter; this.studentByCourse = new Dictionary <string, Dictionary <string, List <int> > >(); }