USACE / cwms-data-api

Corps Water Management System RESTful Data Service
MIT License
11 stars 14 forks source link

Update Controller endpoints to have a base class #811

Open RyanM-RMA opened 2 months ago

RyanM-RMA commented 2 months ago

Let's update the Controller endpoints to include a base class that contains common utility methods and fields similar to the BaseOutletHandler referenced here.

          If we do a base class agnostic of the Handler and CrudHandler interface, that's 51 classes that'll need an update.  I'm down for doing that in a separate PR, but where does that time go?  We can always create a ticket, and put that on hold until we can decide on that?

_Originally posted by @RyanM-RMA in https://github.com/USACE/cwms-data-api/pull/764#discussion_r1687189210_