Ejemplo n.º 1
0
        public ActionResult TestingUrlManagement()
        {
            var testingsList = _getInfoService.GetAllTestingUrls();

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

            return(View(parsedTestingsList));
        }
Ejemplo n.º 2
0
        public JsonResult GetAllTestingUrls()
        {
            var testingsList = _getInfoService.GetAllTestingUrls();

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

            return(Json(parsedTestingsList, JsonRequestBehavior.AllowGet));
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 4
0
        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));
        }