Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ddidgdimitrov-infragistics committed Oct 23, 2024
1 parent 37a728c commit 390f6f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NorthwindCRUD/Controllers/EmployeesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public ActionResult<OrderDto[]> GetOrdersByEmployeeId(int id)
[HttpGet("{id}/Territories")]
public ActionResult<EmployeeDto[]> GetTerritoriesByEmployeeId(int id)
{
var territories = this.employeeTerritoryService.GetTeritoriesByEmployeeId(id);
var territories = this.employeeTerritoryService.GetTerritoriesByEmployeeId(id);
if (territories == null)
{
return NotFound($"No territories for employee {id}");
Expand Down

0 comments on commit 390f6f2

Please sign in to comment.