public void RequestPositionsTest_ReturnAllGiveSchoolRequestList_WithoutGridView()
        {
            //Arrange
            parameters.SchoolCode = "0225";
            string expect = "0225";
            //Act
            var list = CommonListExecute.RequestPositions(parameters);

            int resultCount = list.Count;
            var result      = list[0].SchoolCode;

            //Assert
            Assert.AreEqual(expect, result, $"  Posting position is { result}");
            Assert.IsTrue(resultCount >= 1, $"  request  posting List is { resultCount}");
        }
        public void RequestPositionsTest_ReturnAllGiveSchoolRequestList_WithGridView()
        {
            //Arrange
            parameters.SchoolCode = "0225";
            string expect       = "0225";
            var    testGridview = new System.Web.UI.WebControls.GridView();

            //Act
            var list = CommonListExecute.RequestPositions(parameters);

            testGridview.AutoGenerateColumns = true;
            testGridview.DataSource          = list;
            testGridview.DataBind();

            int resultCount = testGridview.Rows.Count;
            var result      = list[0].SchoolCode;

            //Assert
            Assert.AreEqual(expect, result, $"  Posting position is { result}");
            Assert.IsTrue(resultCount >= 1, $"  request  posting List is { resultCount}");
        }