protected override async Task <bool> ActAsync(MongoRepository <SomeEntity> subject) { await subject.AddManyAsync(_entities, CancellationToken); return(true); }
public async Task <Task> ExecuteAsync(List <Translation> translations, string branch) { PrepareTranslations(translations, branch); return(_mongoRepository.AddManyAsync(translations)); }