Beispiel #1
0
        public async Task <ActionResult> Detail(int id)
        {
            try
            {
                var result = await rfqService.GetPublicPortalSingleRfqById(id);

                return(View(result));
            }
            catch (Exception ex)
            {
                return(RedirectToAction("Index"));
            }
        }
Beispiel #2
0
        public async Task <ActionResult> Detail(int id)
        {
            try
            {
                string code = Request.Query["code"];
                ViewBag.Code = code;
                var result = await rfqService.GetPublicPortalSingleRfqById(id);

                TempData["LoginUrl"] = _appSettings.App_Identity.WebAppUrl + "Public/SignIn";
                return(View(result));
            }
            catch (Exception ex)
            {
                return(RedirectToAction("Index"));
            }
        }