Design changes

This commit is contained in:
Dimitar Byalkov committed 2022-04-08 20:55:29 +03:00
1 parent 9f3b3f88bb
commit c9777042c0
12 files changed
+36 -64

No files matched your search

@@ -60,7 +60,7 @@ namespace WebApp.Controllers
[HttpPost]
[ValidateAntiForgeryToken]
public async Task<IActionResult> Create([Bind("Id,CarId,StartDate,EndDate,UserId")] Rents rents)
public async Task<IActionResult> Create([Bind("Id,Car.Id,StartDate,EndDate,UserId")] Rents rents)
{
if (ModelState.IsValid)
{