implemented getting all quotes
This commit is contained in:
1 parent
2cbab773d0
commit
7e778d6154
2 files changed
+17
-12
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user