public ActionResult ViewByPolicyNo(long? policyNo)
{
return RedirectToAction("View", new { id = 1779449 });
}
[Breadcrumb]
public async Task<ActionResult> View(long? id)
{
PolicyListDto policyListDto = null;
if (TempData["PolicyData"] != null)
policyListDto = (PolicyListDto)TempData["PolicyData"];
else
{
if (!id.HasValue)
throw new UserFriendlyException("Görüntülemek istenilen poliçe Id'sini giriniz.");
policyListDto =await _policyAppService.GetPolicyInputWithAllDetail(id.Value);
}
return View(policyListDto);
}