implemented getting all quotes

This commit is contained in:
StevanFreeborn
2022-06-23 13:26:21 -05:00
parent 2cbab773d0
commit 7e778d6154
2 changed files with 17 additions and 12 deletions
+3 -3
View File
@@ -44,10 +44,10 @@ namespace server.Controllers.v1
}
}
// TODO
// TODO: Implement getquotesbyid
[MapToApiVersion("1.0")]
[HttpGet]
public async Task<ActionResult<Quote>> GetQuoteByIdAsync(int id)
[HttpGet("{id:int}")]
public Task<ActionResult<Quote>> GetQuoteByIdAsync(int id)
{
throw new NotImplementedException();
}