Skip to main content

Migrate API SWMM5Azure to SwmmApiAspnet

Create Controllers based on UI Calls

For SWMM5Azure there are 2 sections that need to be made available.

  • Home controller
  • SWMMWebServices

The Home controller contains things like Getting the dashboard model. Some of these are refrences to get particalar CSHTML files. I am not calling these at this time.

The SWMMWebServices contains things that interact more with the database Getting the System Summary, Latest Run properties, Nodes...

We used to use NSWCStorage and are now using GQCStorage1.

We are adding in entities to GQCStorage1 as we need to.

Create a new cs file in GQCStorage1. The file should be named the same as it is in the table Storage. Add in the properties for the table with accessor and mutator methods. Also make sure the Timestamp and ETag are accounted for.