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