public JsonResult SetGuesstimatePrices(GuesstimateViewModel model) { model.Guesstimate.CreateUser = ckUserEmailId; model.Guesstimate.EditUser = ckUserEmailId; model.Guesstimate.VersionId = model.NextVersionId; GuesstimateSetRes response = new GuesstimateSetRes(); GuesstimateSetReq request = new GuesstimateSetReq(); request.Guesstimate = model.Guesstimate; request.IsNewVersion = model.IsNewVersion; request.DepartureId = Convert.ToInt64(model.DepartureDate); request.PaxSlabId = Convert.ToInt64(model.PaxSlab); request.Qrfid = model.Guesstimate.QRFID; request.VoyagerUserId = ckLoginUser_Id; response = coProviders.SetGuesstimate(request, token).Result; if (response != null) { return(Json(response.ResponseStatus)); } return(Json("failure")); }