Пример #1
0
        public async void ChangeStatus(string status)
        {
            var order = await _instrumentRepository.GetOrdersByOrderNumberToSetStatusAsync(SelectedOrder.OrderNumber, status);

            if (order == null)
            {
                return;
            }
            else
            {
                await _instrumentRepository.SaveChangesAsync();

                WindowLoaded();
                SelectedOrder = new Order();
            }
        }