|
|
30c3621deb
|
Return TeamDto instead of Team model for API.
|
2025-04-14 13:03:30 +02:00 |
|
|
|
f8d1ddd758
|
Map controllers to program.cs file.
http://localhost:5072/api/teams
|
2025-04-14 12:52:02 +02:00 |
|
|
|
4176958f17
|
Remove Weatherforecast example code.
|
2025-04-14 12:50:30 +02:00 |
|
|
|
2934b45018
|
Optimise delete code with only 1 trip to database.
|
2025-04-14 11:57:59 +02:00 |
|
|
|
16ddb2d336
|
Scaffold TeamsController in API project.
dotnet aspnet-codegenerator controller -name TeamsController -async -api -m Team -dc DeadBallZoneLeagueDbContext -outDir Controllers -dbProvider sqlite
|
2025-04-14 11:44:22 +02:00 |
|
|
|
8fc6bc96c0
|
Create new DbContext constructor with external Options.
And install related packages.
|
2025-04-14 10:50:13 +02:00 |
|
|
|
73187855ba
|
Create new ASP.NET API project.
dotnet new webapi -o EntityFrameworkCore.API
|
2025-04-08 22:51:12 +02:00 |
|