コード例 #1
0
        protected override async Task <bool> ActAsync(MongoRepository <SomeEntity> subject)
        {
            await subject.AddManyAsync(_entities, CancellationToken);

            return(true);
        }
コード例 #2
0
 public async Task <Task> ExecuteAsync(List <Translation> translations, string branch)
 {
     PrepareTranslations(translations, branch);
     return(_mongoRepository.AddManyAsync(translations));
 }