public ActionResult Details(int ClaimId) { try { if (string.IsNullOrEmpty(UserId.ToString())) { return(RedirectToAction("Login", "Auth")); } TempData["msg"] = "<script>alert('Submitted bill details will not show');</script>"; var res = _ClaimHandlerService.GetDetails(ClaimId, Convert.ToInt32(SessionManager.UserId)); if (res != null && res.BillingForm != null) { if (res.BillingForm.Make == VehicleMakeName.Honda || res.BillingForm.Make == VehicleMakeName.Suzuki || res.BillingForm.Make == VehicleMakeName.Toyota) { int iMake = (int)Enum.Parse(typeof(VehicleMake), res.BillingForm.Make); SessionManager.VehicleMake = GetVehicalType(iMake); res.ModelCodeDetail = _BillingService.GetAllFrameCodeDetail(null); res.ModelSheetNames = _BillingService.GetAllSheetNames(iMake); } } return(View("Details", res)); //return View("ClaimHandlerAssessmentDetail", res); } catch (Exception ex) { LoggerService.LogException(ex); return(Redirect("~/DashBoard/Index")); } }