示例#1
0
        public override HttpHandlerResult Get()
        {
            var sessionId = GetQuery("id");

            var vm = new SessionDetailsVM(this)
            {
                PageTitle = "Photon Agent Session Details",
                SessionId = sessionId,
            };

            vm.Build();

            return(Response.View("Session\\Details.html", vm));
        }
示例#2
0
        public override HttpHandlerResult Get()
        {
            var sessionId = GetQuery("id");

            var vm = new SessionDetailsVM {
                PageTitle = "Photon Server Session Details",
                SessionId = sessionId,
            };

            //try {
            //    vm.
            //}

            return Response.View("Session\\Details.html", vm);
        }
示例#3
0
        public override HttpHandlerResult Get()
        {
            var sessionId = GetQuery("id");

            var vm = new SessionDetailsVM {
                PageTitle = "Photon Agent Session Details",
                SessionId = sessionId,
            };

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

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