EasyBike.Models.ContractService.AggregateStations C# (CSharp) Method

AggregateStations() private method

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