Tech Stac : .NET 5 Web Api
Download/Clone the project and run it
You should be able to see url like this https://localhost:44381/swagger/index.html
Since its swagger enabled, you can see 2 end points
- /ElementTypeCount
- /RoomArea
both has 'Try it out' button, clicking on it opens panel where you can click 'Execute' button, as both endpoints doesnt take parameters, you should see the responses from the model file
Areas to Refactor:
1.Create service class, and its interface 2.Create repo class, and its interface 3.Write unit tests 4.Add more logging 5.Wireup DI in startup class 6.Add Authentication