Esempio n. 1
0
        public void MapRidesToUser(string userID, Rides[] rides) => RideRepoUserId.AddRides(userID, rides);            //create MapRidesToUser method

        public InvoiceDetails GetInvoiceSummary(string userID) => this.CalculateFare(RideRepoUserId.GetRides(userID)); //create method GetInvoiceSummary
Esempio n. 2
0
 public void MapRidesToUser(string userID, Rides[] rides) => RideRepoUserId.AddRides(userID, rides);            //create MapRidesToUser method