public ViewResult Index()
        {
            var neptunePage             = NeptunePage.GetNeptunePageByPageType(NeptunePageType.WaterQualityMaintenancePlan);
            var wqmpGridSpec            = new WaterQualityManagementPlanIndexGridSpec(CurrentPerson);
            var verificationNeptunePage = NeptunePage.GetNeptunePageByPageType(NeptunePageType.WaterQualityMaintenancePlanOandMVerifications);
            var verificationGridSpec    = new WaterQualityManagementPlanVerificationGridSpec(CurrentPerson);
            var viewData = new IndexViewData(CurrentPerson, neptunePage, wqmpGridSpec, verificationNeptunePage, verificationGridSpec);

            return(RazorView <Index, IndexViewData>(viewData));
        }
        public GridJsonNetJObjectResult <WaterQualityManagementPlanVerify> WaterQualityManagementPlanVerificationGridData()
        {
            var stormwaterJurisdictionIDsPersonCanView  = CurrentPerson.GetStormwaterJurisdictionIDsPersonCanView();
            var waterQualityManagementPlanVerifications = HttpRequestStorage.DatabaseEntities
                                                          .WaterQualityManagementPlanVerifies
                                                          .Where(x => stormwaterJurisdictionIDsPersonCanView.Contains(x.WaterQualityManagementPlan.StormwaterJurisdictionID))
                                                          .OrderBy(x => x.WaterQualityManagementPlan.StormwaterJurisdiction.Organization.OrganizationName)
                                                          .ThenBy(x => x.WaterQualityManagementPlan.WaterQualityManagementPlanName)
                                                          .ThenByDescending(x => x.LastEditedDate).ToList();

            var gridSpec = new WaterQualityManagementPlanVerificationGridSpec(CurrentPerson);

            return(new GridJsonNetJObjectResult <WaterQualityManagementPlanVerify>(waterQualityManagementPlanVerifications, gridSpec));
        }