public void AddCompanies(List <RCModel.Company> items, bool isInitialImport) { if (isInitialImport) { companyRepoBase.AddAll(items); } else { companyRepoExtended.AddAndDeleteNotPresent(items); } }
public void AddAll(IEnumerable <TEntity> entity) { _repository.AddAll(entity); }