public ActionResult ClaimDetails(Guid claimId)
        {
            var claimDomainModel = _claimService.GetByClaimId(claimId);
            var claimViewModel   = new ClaimViewModel(claimDomainModel);

            return(View(claimViewModel));
        }
예제 #2
0
        public IActionResult GetByClaimId(int id)
        {
            var result = _claimService.GetByClaimId(id);

            if (result.Success)
            {
                return(Ok(result));
            }

            return(BadRequest(result));
        }