void SaveNewVendorMethod(object arg)
 {
     FactoryManager myManager = new FactoryManager();
     myManager.GetVendorManager().CreateNewVendor(vendor.Description, vendor.CompanyName);
     RefreshAction();
     CloseAction();
 }
 void RefreshVendorList()
 {
     FactoryManager myManager = new FactoryManager();
     var result = myManager.GetVendorManager().GetVendorList();
     List<VendorViewModel> vendorResult = new List<VendorViewModel>();
     foreach (VendorDTO vendor in result)
     {
         vendorResult.Add(new VendorViewModel() { VendorID = vendor.ID, CompanyName = vendor.CompanyName });
     }
     vendors = new ObservableCollection<VendorViewModel>(vendorResult);
 }