Incorporated comments review:- Made the PolderLevel property of the ScenarioRecord optional, as this can be defined in either the locations.csv or the scenarios.csv which makes the property optional.- Added error message in case the PolderLevel was undefined in both files --> in this case the scenario is not imported and a log message is generatedRelated to Issue [MWDAM-1584]
Cleanup test: - Replaced .Where().FirstOrDefault() statements with .FirstOrDefault(predicate) statements for readability and performance reasonsRelated to Issue [MWDAM-1584]
Fixed failing unit tests: fixed for the csv plugin importer as the PolderLevel property was moved from Location to ScenarioRelated to Issue [MWDAM-1584]
Rewired the HeadPl2 and the PolderLevel properties of Scenario to the new XML entities:- Changed nullable PolderLevel to a regular double as this is a mandatory required parameter (maintained consistency with the rest of the application)Related to Issue [MWDAM-1584]