Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ITaxiSerivce
- {
- void Drive(int carId, Location destination);
- }
- public class IСargoTaxiService
- {
- void Drive(int carId, double weight, Location destination);
- }
- public class Taxi
- {
- // Plain Data
- }
- public class CargoTaxi
- {
- // Plain Data. Maybe even almost the same
- }
Advertisement
Add Comment
Please, Sign In to add comment