Exemple #1
0
        public ActionResult TestingUrlManagement()
        {
            var testingsList = _getInfoService.GetAllTestingUrls();

            var parsedTestingsList = testingsList.Select(t => _advancedMapper.MapTestingUrl(t)).ToList();

            return(View(parsedTestingsList));
        }
        public JsonResult GetAllTestingUrls()
        {
            var testingsList = _getInfoService.GetAllTestingUrls();

            var parsedTestingsList = testingsList.Select(t => _advancedMapper.MapTestingUrl(t)).ToList();

            return(Json(parsedTestingsList, JsonRequestBehavior.AllowGet));
        }
Exemple #3
0
        //public JsonResult GetAllTestingUrls()
        public IEnumerable <TestingUrlViewModel> GetAllTestingUrls()
        {
            var testingsList = _getInfoService.GetAllTestingUrls();

            var parsedTestingsList = testingsList.Select(t => _advancedMapper.MapTestingUrl(t)).ToList();

            return(parsedTestingsList);
            //return Json(parsedTestingsList, JsonRequestBehavior.AllowGet);
        }
        public ActionResult TestingUrlManagement()
        {
            var testingsList       = _getInfoService.GetAllTestingUrls();
            var parsedTestingsList = testingsList.Select(t => _advancedMapper.MapTestingUrl(t)).ToList();

            foreach (var test in parsedTestingsList)
            {
                test.UrlInstance = CreateUrlLink(test.Guid);
            }
            return(View(parsedTestingsList));
        }