public RequestConfigurationView(DBModels.Request request) { InitializeComponent(); var requestModel = new RequestConfigurationViewModel(request); DataContext = requestModel; }
private void OnRequestChanged(DBModels.Request request) { if (_currentRequestConfigurationView == null) { _currentRequestConfigurationView = new RequestConfigurationView(request); MainGrid.Children.Add(_currentRequestConfigurationView); Grid.SetRow(_currentRequestConfigurationView, 0); Grid.SetRowSpan(_currentRequestConfigurationView, 2); Grid.SetColumn(_currentRequestConfigurationView, 1); } else { _currentRequestConfigurationView.DataContext = new RequestConfigurationViewModel(request); } }
public void AddRequest(System.Guid userGuid, DBModels.Request request) { base.Channel.AddRequest(userGuid, request); }
public System.Threading.Tasks.Task AddRequestAsync(System.Guid userGuid, DBModels.Request request) { return(base.Channel.AddRequestAsync(userGuid, request)); }