Example #1
0
 public RecordObservationsViewData(Person currentPerson, Models.OnlandVisualTrashAssessment ovta,
                                   OVTAObservationsMapInitJson mapInitJson, string geoServerUrl)
     : base(currentPerson, Models.OVTASection.RecordObservations, ovta)
 {
     MapInitJson        = mapInitJson;
     ViewDataForAngular = new ViewDataForAngularClass(mapInitJson, ovta, geoServerUrl, ovta.StormwaterJurisdictionID);
 }
Example #2
0
 public ViewDataForAngularClass(OVTAObservationsMapInitJson mapInitJson,
                                Models.OnlandVisualTrashAssessment ovta, string geoServerUrl, int?ovtaStormwaterJurisdictionID)
 {
     MapInitJson  = mapInitJson;
     GeoServerUrl = geoServerUrl;
     OVTAStormwaterJurisdictionID = ovtaStormwaterJurisdictionID;
     ovtaID = ovta.OnlandVisualTrashAssessmentID;
 }