public void AddRang(List <T> entities) { _context.AddRange(entities); foreach (var entity in entities) { UpdateInfo(entity.Id, InfoState.ADD); } }