public void OnGet_IfValidModel_ReturnPage()
        {
            var pageModel = new SchoolDistrictModel();
            var result    = pageModel.OnGet();

            Assert.IsType <PageResult>(result);
        }
        public void OnGet_IfInvalidModel_ReturnBadRequest()
        {
            var pageModel = new SchoolDistrictModel();

            pageModel.ModelState.AddModelError("Error", "Bad request: GET method failed in SchoolDistrict.cshtml.cs.");
            var result = pageModel.OnGet();

            Assert.IsType <BadRequestResult>(result);
        }