Пример #1
0
 private void EditFilter(IssuesFiltersViewModel.FilterModel filterModel)
 {
     var ctrl = new IssuesFilterViewController(filterModel.IssueModel);
     ctrl.CreatedFilterModel = x =>
     {
         filterModel.IssueModel = x;
         ViewModel.EditFilterCommand.Execute(filterModel);
     };
     NavigationController.PushViewController(ctrl, true);
 }
Пример #2
0
 private void CreateNewFilter()
 {
     var ctrl = new IssuesFilterViewController(new CodeBucket.Core.Filters.IssuesFilterModel());
     ctrl.CreatedFilterModel = ViewModel.NewFilterCommand.Execute;
     NavigationController.PushViewController(ctrl, true);
 }