public async Task <IHttpActionResult> NonAPLItemClaimAdd(NonAPLItemClaimViewModel model) { if (model.Attachment != null && model.Attachment.Any()) { model.Attachment = model.Attachment.ToPermanentPath("Claim"); } await WebApiService.Instance.PostAsync("claim/NonAPLItemClaim/add", model); return(Ok()); }
public IHttpActionResult UpdateNonAPLItemClaim(NonAPLItemClaimViewModel model) { _claimService.UpdateNonAPLItemClaim(model.ToServiceRequestModel()); return(Ok()); }