Add functional simulation question review
This commit is contained in:
@@ -40,6 +40,10 @@ public class ExamSimulationsController(ExamSimulationStore simulations) : Contro
|
||||
return simulation is null ? NoContent() : Ok(await simulations.ToResponseAsync(simulation));
|
||||
}
|
||||
|
||||
[HttpGet("completed")]
|
||||
public async Task<IActionResult> Completed([FromQuery] int limit = 20, [FromQuery] DateTime? before = null) =>
|
||||
Ok(await simulations.GetCompletedAsync(UserId(), limit, before));
|
||||
|
||||
[HttpGet("{id}")]
|
||||
public async Task<IActionResult> Get(string id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user