/// <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);
        }
Example #2
0
 private static void InitializeFileParseService()
 {
     _fileParserService  = new FileParserManager();
     _sortDerviceManager = new SortServiceManager();
 }
Example #3
0
 public void Initialize()
 {
     _sortServiceManager = new SortServiceManager();
 }