Пример #1
0
        public ActionResult Index(string refresh)
        {
            if (!string.IsNullOrWhiteSpace(refresh))
            {
                //Clean the cache of test data
                NotebookServiceStore.Refresh(refresh);
                return(Redirect(Request.Url.GetLeftPart(UriPartial.Path)));
            }

            return(View(NotebookServiceStore.GetServices()));
        }