Skip to content

Commit 61649ef

Browse files
committed
refactor(controllers)!: rename to match convention
1 parent e498f3b commit 61649ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dotnet.Samples.AspNetCore.WebApi/Controllers/PlayersController.cs renamed to Dotnet.Samples.AspNetCore.WebApi/Controllers/PlayerController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ namespace Dotnet.Samples.AspNetCore.WebApi.Controllers;
88
[ApiController]
99
[Route("[controller]")]
1010
[Produces("application/json")]
11-
public class PlayersController(IPlayerService playerService, ILogger<PlayersController> logger)
11+
public class PlayerController(IPlayerService playerService, ILogger<PlayerController> logger)
1212
: ControllerBase
1313
{
1414
private readonly IPlayerService _playerService = playerService;
15-
private readonly ILogger<PlayersController> _logger = logger;
15+
private readonly ILogger<PlayerController> _logger = logger;
1616

1717
/* -------------------------------------------------------------------------
1818
* HTTP POST

0 commit comments

Comments
 (0)