public async Task <CommonResponse> SetQuoteRejectOpportunity(QuoteRejectOpportunityReq request, string ticket) { CommonResponse response = new CommonResponse(); response = await serviceProxy.PostData(_configuration.GetValue <string>("ServiceQuote:SetQuoteRejectOpportunity"), request, typeof(CommonResponse), ticket); return(response); }
public JsonResult SetQuoteRejectOpportunity(string QRFID) { CommonResponse response = new CommonResponse(); QuoteRejectOpportunityReq request = new QuoteRejectOpportunityReq(); request.QRFID = QRFID; request.EditUser = ckUserEmailId; request.VoyagerUserId = ckLoginUser_Id; response = salesProviders.SetQuoteRejectOpportunity(request, token).Result; if (response != null) { return(Json(response.ResponseStatus)); } return(Json("failure")); }