EasyBike.Models.ContractService.AggregateStations C# (CSharp) Méthode

AggregateStations() private méthode

private AggregateStations ( Contract contract ) : void
contract Contract
Résultat void
        private void AggregateStations(Contract contract)
        {
            foreach (var station in contract.Stations)
            {
                station.Contract = contract;
                stations.Add(station);
            }
        }