Ejemplo n.º 1
0
        private void SaveProducer()
        {
            _producer.Name    = Name;
            _producer.Country = Country;
            _producer.Id      = _blc.ProducerService().GetNewId(_producer.Id);

            _dialogService.CloseWindow(_guid);
        }
Ejemplo n.º 2
0
        private void SaveMotorbike()
        {
            _motorbike.Name           = Name;
            _motorbike.Producer       = SelectedProducer;
            _motorbike.ProductionYear = ProductionYear;
            _motorbike.Transmission   = SelectedTransmission;
            _motorbike.Id             = _blc.MotorbikeService().GetNewId(_motorbike.Id);

            _dialogService.CloseWindow(_guid);
        }