public async Task <IHttpActionResult> OtherExpensesClaimUpdate(OtherExpensesClaimViewModel model) { if (model.Attachment != null && model.Attachment.Any()) { model.Attachment = model.Attachment.ToPermanentPath("Claim"); } await WebApiService.Instance.PostAsync("claim/OtherExpensesClaim/update", model); return(Ok()); }
public IHttpActionResult UpdateOtherExpensesClaim(OtherExpensesClaimViewModel model) { _claimService.UpdateOtherExpensesClaim(model.ToServiceRequestModel()); return(Ok()); }