public UZBookingRepository(Ticket ticket, UZAPIConfig apiConfig) { //TODO: maybe possible to instanse context whith Trip and forward it to repository? _dataContext = new UZDataContext(ticket, apiConfig); _placesSets = new List <UZPlacesSet>(); }
public BookingController() { _api = new UZAPIConfig(); ViewBag.Places = new Dictionary <string, int>(); }
public UZDataContext(Ticket ticket, UZAPIConfig apiConfig) { _translator = new UZDomainTranslator(ticket); _gateway = new UZDataGateway(apiConfig); }