public void ExcelWriteGroupAvgMinMaxWithSortingByMaxDescending()
        {
            //arrange
            AllGroupsAvgMaxMinGetter getter  = new AllGroupsAvgMaxMinGetter(connectionString);
            List <GroupsAvgMinMax>   results = getter.GetGroupsAvgMinMax((i) => i.Max, SortType.Descending).ToList <GroupsAvgMinMax>();
            //act
            bool flag = ExcelWorker.Write(@"GroupAvgMinMaxWithSorting.xlsx", results);

            //assert
            Assert.IsTrue(flag);
        }
        public void ExcelWriteGroupAvgMinMax()
        {
            //arrange
            AllGroupsAvgMaxMinGetter getter  = new AllGroupsAvgMaxMinGetter(connectionString);
            List <GroupsAvgMinMax>   results = getter.GetGroupsAvgMinMax().ToList <GroupsAvgMinMax>();
            //act
            bool flag = ExcelWorker.Write(@"GroupAvgMinMax.xlsx", results);

            //assert
            Assert.IsTrue(flag);
        }