public ActionResult ClaimDetails(Guid claimId) { var claimDomainModel = _claimService.GetByClaimId(claimId); var claimViewModel = new ClaimViewModel(claimDomainModel); return(View(claimViewModel)); }
public IActionResult GetByClaimId(int id) { var result = _claimService.GetByClaimId(id); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }