Example #1
0
        public async Task <IHttpActionResult> CitBookingPostUpdate(CITViewModel model)
        {
            if (!string.IsNullOrEmpty(model.ReceiptUrl))
            {
                model.ReceiptUrl = model.ReceiptUrl.ToPermanentPath("CIT");
            }

            await WebApiService.Instance.PostAsync("cit/post/update", model);

            return(Ok());
        }
 public IHttpActionResult UpdateCIT(CITViewModel model)
 {
     CITService.UpdateCIT(model.ToServiceRequestModel());
     return(Ok());
 }
Example #3
0
        public async Task <IHttpActionResult> CITUpdate(CITViewModel model)
        {
            await WebApiService.Instance.PostAsync("CIT/update", model);

            return(Ok());
        }