Fixed uncapitalized i in Id for all Controllers

This commit is contained in:
2020-07-14 18:10:57 +02:00
parent 959c43ca1e
commit f0cf54513f
7 changed files with 14 additions and 14 deletions

View File

@@ -72,7 +72,7 @@ namespace ScrumTaskboard.Controllers
public async Task<IActionResult> PutSprint(int id, ScrumSprint sprint)
{
// The sprint's ID must not be changed
if (id != sprint.id)
if (id != sprint.Id)
{
return BadRequest();
}
@@ -109,7 +109,7 @@ namespace ScrumTaskboard.Controllers
await _context.SaveChangesAsync();
// The new sprint has been created and can be called up using the GetSprint method
return CreatedAtAction("GetSprint", new { id = sprint.id }, sprint);
return CreatedAtAction("GetSprint", new { id = sprint.Id }, sprint);
}
// DELETE: api/Sprint/5