예제 #1
0
        public async Task UpdateImportAsync(UpdateImportRequest request)
        {
            await transactionService.CommitAsync(new[] { TransactionContextScope.Main }, async() =>
            {
                var import = await importsRepository.GetAsync(request.Id);

                import.Priority = request.Priority;
                import.Comment  = request.Comment;

                await importsRepository.UpdateAsync(import);
            });
        }
 public async Task UpdateImport([FromBody] UpdateImportRequest request)
 => await transcriptionService.UpdateImportAsync(request);