Esempio n. 1
0
        public async Task <ActionResult> Games()
        {
            try
            {
                await Tracer.Debug("Refreshing games");

                var proxy = new AdministrationServiceClient(AuthenticationHelper.GetSessionId());
                return(this.PartialView(proxy.GetGames()));
            }
            catch (Exception ex)
            {
                this.HandleException("Error while retrieving the games", ex);
            }

            return(new HttpStatusCodeResult(HttpStatusCode.InternalServerError));
        }