Lazy Loading fix, new migration, Rents Index data
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user