diff options
Diffstat (limited to 'Controllers/RafflesController.cs')
-rw-r--r-- | Controllers/RafflesController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Controllers/RafflesController.cs b/Controllers/RafflesController.cs index 775ef3b..32604bb 100644 --- a/Controllers/RafflesController.cs +++ b/Controllers/RafflesController.cs @@ -21,7 +21,7 @@ namespace BackendPIA.Controllers { } [HttpGet] - public async Task<IEnumerable<Raffle>> Get([FromQuery] string name = "") { + public async Task<IEnumerable<Raffle>> Index([FromQuery] string name = "") { return await _service.GetRaffles(name); } |