public JsonResult SetGuesstimateChangeRule(string GuesstimateId, string ChangeRule, double?ChangeRulePercent) { GuesstimateSetRes response = new GuesstimateSetRes(); GuesstimateChangeRuleSetReq request = new GuesstimateChangeRuleSetReq(); request.GuesstimateId = GuesstimateId; request.ChangeRule = ChangeRule; request.ChangeRulePercent = ChangeRulePercent; request.EditUser = ckUserEmailId; response = coProviders.SetGuesstimateChangeRule(request, token).Result; if (response != null) { return(Json(response.ResponseStatus)); } return(Json("failure")); }