summaryrefslogtreecommitdiff
path: root/Controllers
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2022-11-22 16:46:46 -0600
committerHombreLaser <sebastian-440@live.com>2022-11-22 16:46:46 -0600
commit214cd4db690635ba2a30183c1679c3e4d7b8e896 (patch)
tree95de21f42a07c27cdfa5b50be25ae97bab3abefe /Controllers
parentea20e100d4afe4429ab4c24926bffc0a8f9b9b70 (diff)
Añadido modelo de ticket
Diffstat (limited to 'Controllers')
-rw-r--r--Controllers/RafflesController.cs2
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);
}