public TicketController(IPersonServ personServ, ICarriageServ carrServ, ISqlProcServ sqlServ, IStationServ statServ, IReservSeatServ seatServ, IStationOnRouteServ statOnRouteServ, ITicketServ ticketServ) { this.personServ = personServ; this.carrServ = carrServ; this.sqlServ = sqlServ; this.statServ = statServ; this.seatServ = seatServ; this.statOnRouteServ = statOnRouteServ; this.ticketServ = ticketServ; this.mapper = new ObjMapper(this.sqlServ, this.carrServ, this.seatServ, this.statOnRouteServ, this.personServ, this.ticketServ); }
public TrainController(ISqlProcServ sqlProcServ, IStationServ stationServ, ICarriageServ carrServ, IReservSeatServ seatServ, IStationOnRouteServ statOnRouteServ, IPersonServ personServ, ITicketServ ticketServ) { this.sqlProcService = sqlProcServ; this.stationServ = stationServ; this.carrServ = carrServ; this.seatServ = seatServ; this.personServ = personServ; this.statOnRouteServ = statOnRouteServ; this.ticketServ = ticketServ; mapper = new ObjMapper(this.sqlProcService, this.carrServ, this.seatServ, this.statOnRouteServ, this.personServ, this.ticketServ); FillFromTimesDropDown(); }