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)); }
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)); }