public BacklogEvalQueryResult HandleBacklogOrderSubmissionRequest(BacklogOrderRequest request) { var submission = new Submission() { Indexes = request.UserStoryIndexes }; _backlogrepo.WriteSubmission(request.Id, submission); return(EvalSubmissions(request.Id)); }
public (Status, BacklogEvalQueryResult) HandleBacklogOrderSubmissionRequest(BacklogOrderRequest request) { var submission = new Submission() { Indexes = request.UserStoryIndexes, UserId = request.UserId }; var status = _backlogrepo.WriteSubmission(request.BacklogId, submission); if (status is Failure) { return(status, null); } return(EvalSubmissions(request.BacklogId)); }