예제 #1
0
        public ActionResult ApplicationDetails()
        {
            var application = _dealerAppService.GetRegApplication(_userAppService.GetLoggedInUser().ApplicantId, _financialYearAppService.GetActiveFinancialYear());

            if (application != null)
            {
                ViewBag.DealerActivities = _dealerActivityAppService.GetDealerActivities(application);
                return(View(application));
            }
            else
            {
                TempData["danger"] = string.Format(@"Your have not applied for current financial year!");
                return(RedirectToAction("Index", "Dashboard"));
            }
        }