Lazy Loading fix, new migration, Rents Index data

This commit is contained in:
Dimitar Byalkov committed 2022-04-09 03:21:47 +03:00
1 parent 21117225b7
commit 9c857a9458
14 files changed
+143 -92

No files matched your search

@@ -61,6 +61,7 @@ namespace WebApp.Controllers
[Authorize]
public async Task<IActionResult> Create(Rents rents)
{
if (ModelState.IsValid)
{
var car = _context.Cars.FirstOrDefault(car => car.Id == 1);