public void ExecuteCreateContract()
 {
     bl.AddContract(SelectedCustomer, DateTime.Now, SelectedCurrency, bl.GetInitials());
     ContractId  = bl.GetContracts().Last().Id;
     Information = string.Format("Kontrakten til {0} blev oprettet med kontraktnr. {1}",
                                 SelectedCustomer.Name, ContractId);
     RaisePropertyChanged("ContractId");
     RaisePropertyChanged("Information");
 }
Exemple #2
0
 private void UpdateContractList()
 {
     contracts = bl.GetContracts();
     PopulateDisplayItems();
 }