public StationResponseForm() { _stationResponseService = new StationResponseBLL(); InitializeComponent(); responseBll = new ResponseBLL(); stationBLL = new StationBLL(); vehicleTypeBLL = new VehicleTypeBLL(); responses = responseBll.GetAll(); stations = stationBLL.GetAll(); vehicleTypes = vehicleTypeBLL.GetAll(); cmbResponseId.DataSource = responses; cmbStationId.DataSource = stations; cmbVehicleTypeId.DataSource = vehicleTypes; }
private void RefreshResponseList() { dgvResponseList.DataSource = _responseService.GetAll(); }