public ClientEditViewModel(Client c) { StateManager = new StateManager(); RevenueManager = new RevenueManager(); Entity = new Client(c); ButtonText = "Edytuj"; WindowTitle = "Edytowanie kontrahenta"; }
public ClientAddViewModel() { StateManager = new StateManager(); // Default Entity = new Client(); Entity.State = "zachodniopomorskie"; RevenueManager = new RevenueManager(); ButtonText = "Dodaj"; WindowTitle = "Dodawanie kontrahenta"; }