public async virtual Task <OperationResult> CreateAsync(Job job) { try { using var transactionScope = new TransactionScope(TransactionScopeOption.Required, transactionOptions, TransactionScopeAsyncFlowOption.Enabled); await _dao.CreateAsync(job); transactionScope.Complete(); return(new OperationResult <List <Job> >() { Success = true }); } catch (Exception e) { return(new OperationResult <List <Job> >() { Success = false, Exception = e }); } }