Lazy Loading fix, new migration, Rents Index data
This commit is contained in:
@@ -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