Пример #1
0
        public OrderState AddOrderState(string name)
        {
            var prp = new OrderState {
                Name = name
            };

            OrderStates.Add(prp);
            return(prp);
        }
 private void OnAddPropertyExecuted(string obj)
 {
     OrderStates.Add(new OrderStateViewModel(Model.AddOrderState("")));
 }