Example #1
0
 public async Task EditTestHasEmptyInputAsync(Guid testId, EditTestHasEmptyInputBindingModel model)
 {
     await _testsRepository.UpdateAsync(t => t.Id == testId, test =>
     {
         test.HasEmptyInput = model.HasEmptyInput;
     });
 }
Example #2
0
 public async Task EditTestHasEmptyInputAsync([FromRoute] Guid testId, [FromBody] EditTestHasEmptyInputBindingModel model)
 {
     await _testsService.EditTestHasEmptyInputAsync(testId, model);
 }