Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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"));
        }