Track real first attempt question stats
This commit is contained in:
@@ -50,6 +50,9 @@ public class QuestionStore
|
||||
public async Task<Question?> GetByIdAsync(string id) =>
|
||||
await _col.Find(q => q.Id == id).FirstOrDefaultAsync();
|
||||
|
||||
public async Task<Question?> GetByExternalIdAsync(string externalId) =>
|
||||
await _col.Find(q => q.ExternalId == externalId).FirstOrDefaultAsync();
|
||||
|
||||
public async Task<Question?> CreateAsync(UpsertQuestionRequest req)
|
||||
{
|
||||
var question = FromRequest(req);
|
||||
|
||||
Reference in New Issue
Block a user