public Ticket Park(Car car) { var parkInformation = _parkable.Park(car); var ticket = new Ticket(parkInformation); _ticketRepository.Save(ticket); return(ticket); }
public void Park() { _parkBehavior.Park(); }
public Ticket Park(Car car) { var parkInformation = _parkable.Park(car); var ticket = new Ticket(parkInformation); _ticketRepository.Save(ticket); return(ticket); }
public void Park() { _parkBehavior.Park(); }