mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
Add WebAPI controllers for beers, breweries, and users; update Docker configuration and .gitignore
This commit is contained in:
@@ -45,10 +45,7 @@ app.MapGet(
|
||||
)
|
||||
.WithName("GetWeatherForecast");
|
||||
|
||||
app.UseStaticFiles();
|
||||
// Register controllers
|
||||
app.MapControllers();
|
||||
app.Run();
|
||||
|
||||
record WeatherForecast(DateOnly Date, int TemperatureC, string? Summary)
|
||||
{
|
||||
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user