/// <summary>
        /// get person by sort order
        /// </summary>
        /// <param name="person"></param>
        /// <param name="sortBy"></param>
        /// <returns></returns>
        public IList <Person> GetPersonListBySortOption(IList <Person> person, string sortBy)
        {
            _sortServiceManager = new SortServiceManager();
            IList <Person> persons = new List <Person>();

            persons = GetPersonListWithSorting(person, sortBy);
            return(persons);
        }
 private static void InitializeFileParseService()
 {
     _fileParserService  = new FileParserManager();
     _sortDerviceManager = new SortServiceManager();
 }
Exemple #3
0
 public void Initialize()
 {
     _sortServiceManager = new SortServiceManager();
 }