示例#1
0
        public override HttpHandlerResult Get()
        {
            var vm = new BuildDetailsVM(this)
            {
                PageTitle   = "Photon Server Build Details",
                ProjectId   = GetQuery("project"),
                BuildNumber = GetQuery <uint>("number"),
            };

            vm.Build();

            return(Response.View("Build\\Details.html", vm));
        }
示例#2
0
        public override HttpHandlerResult Get()
        {
            var vm = new BuildDetailsVM {
                PageTitle   = "Photon Server Build Details",
                ProjectId   = GetQuery("project"),
                BuildNumber = GetQuery <uint>("number"),
            };

            try {
                vm.Build();
            }
            catch (Exception error) {
                vm.Errors.Add(error);
            }

            return(Response.View("Build\\Details.html", vm));
        }