コード例 #1
0
ファイル: GetHandler.cs プロジェクト: imdeany/FubuMVC.Recipes
        public DeadEndViewModel Execute()
        {
            var model = new DeadEndViewModel()
            {
                Calls = new List<string>(),
                Outputs = new List<string>(),
                Filters = new List<string>()
            };

            if (currentChain.Current != null)
            {
                ViewModelHelper.PopulateModelWithChain(currentChain.Current, model);
            }

            return model;
        }
コード例 #2
0
ファイル: GetHandler.cs プロジェクト: tappm/FubuMVC.Recipes
 public DeadEndViewModel Execute(DeadEndViewModel model)
 {
     return new DeadEndViewModel();
 }