public AdditionalCostEntryViewModel(IMessageBroker broker, IAdditionalCostService costService, SaveAdditionalCostCommand saveCommand, CancelCommand cancelCommand) { this.broker = broker; this.costService = costService; ActualSaveCommand = saveCommand; CancelCommand = cancelCommand; PropertiesToValidate = new List<string> { "Id","Name","Value"}; InitializeCommands(); SubscribeMessages(); }
public AdditionalCostEntryViewModel(IMessageBroker broker, IAdditionalCostService costService, SaveAdditionalCostCommand saveCommand, CancelCommand cancelCommand) { this.broker = broker; this.costService = costService; ActualSaveCommand = saveCommand; CancelCommand = cancelCommand; PropertiesToValidate = new List <string> { "Id", "Name", "Value" }; InitializeCommands(); SubscribeMessages(); }