Exemplo n.º 1
0
        public CreditsHero.Messaging.Dtos.SubscriberQuotesDto GetCustomerQuotes(GetSubscribersInput input)
        {
            GetQuotesInput inputQuote = new GetQuotesInput()
            {
                CompanyId       = input.CompanyId.Value,
                SubscriberRefId = input.SubscribersId.Value,
                QuoteStatus     = ""
            };

            CreditsHero.Messaging.Dtos.SubscriberQuotesDto results = new CreditsHero.Messaging.Dtos.SubscriberQuotesDto();
            return((CreditsHero.Messaging.Dtos.SubscriberQuotesDto)_creditsHeroConnect.CallCreditsHeroService <SubscriberQuotesDto>(results, inputQuote,
                                                                                                                                    "api/services/app/Quotes/GetSubscriberQuotesByStatus"));
        }
Exemplo n.º 2
0
 public GetQuotesResults UpdateQuote(GetQuotesInput input)
 {
     CreditsHero.Messaging.Dtos.GetQuotesResults results = new CreditsHero.Messaging.Dtos.GetQuotesResults();
     return((CreditsHero.Messaging.Dtos.GetQuotesResults)_creditsHeroConnect.CallCreditsHeroService <GetQuotesResults>(results, input,
                                                                                                                       "api/services/app/Quotes/UpdateSubscriberQuote"));
 }