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