Exemplo n.º 1
0
        public AIA.Life.Models.Opportunity.QuoteList GetVariant(string Plan)
        {
            ProspectLogic objlogic     = new ProspectLogic();
            QuoteList     objQuoteList = new QuoteList();

            objQuoteList = objlogic.GetVariant(Plan);
            return(objQuoteList);
        }
Exemplo n.º 2
0
        public AIA.Life.Models.Opportunity.QuoteList GetReason(string Decision)
        {
            ProspectLogic objlogic     = new ProspectLogic();
            QuoteList     objQuoteList = new QuoteList();

            objQuoteList = objlogic.GetReason(Decision);
            return(objQuoteList);
        }
Exemplo n.º 3
0
        public AIA.Life.Models.Opportunity.QuoteList GetPlanCode(string Variant)
        {
            ProspectLogic objlogic     = new ProspectLogic();
            QuoteList     objQuoteList = new QuoteList();

            objQuoteList = objlogic.GetPlanCode(Convert.ToInt32(Variant));
            return(objQuoteList);
        }
Exemplo n.º 4
0
        public AIA.Life.Models.Opportunity.Prospect FetchNicverifyQuote(AIA.Life.Models.Opportunity.Prospect objProspect)
        {
            //objProspect = (Prospect)IL.ClientEnquiry(objProspect);
            ProspectLogic objlogic = new ProspectLogic();

            objlogic.GetNICValidateQuote(objProspect);

            return(objProspect);
        }
Exemplo n.º 5
0
        public AIA.Life.Models.Opportunity.LifeQuote FetchSAM(LifeQuote objLifeQuote)
        {
            ProspectLogic objlogic = new ProspectLogic();
            int           age      = objLifeQuote.objProspect.AgeNextBdy ?? 0;
            int           variant  = Convert.ToInt32(objLifeQuote.objProductDetials.Variant);

            objLifeQuote = objlogic.GetSAM(variant, age);
            return(objLifeQuote);
        }
Exemplo n.º 6
0
        //FetchNicverifyPolicyIL
        public AIA.Life.Models.Opportunity.Prospect FetchNicverifyPolicyIL(AIA.Life.Models.Opportunity.Prospect objProspect)
        {
            ProspectLogic objlogic = new ProspectLogic();

            objlogic.GetNICValidateQuote(objProspect);
            if (!objProspect.NICAVAIL)
            {
                objlogic.GetDetailsFromPolicyCLientIL(objProspect);
            }

            return(objProspect);
        }
Exemplo n.º 7
0
        public AIA.Life.Models.Opportunity.SuspectPool AllocateLead(AIA.Life.Models.Opportunity.SuspectPool objSuspectPool)
        {
            try
            {
                ProspectLogic objlogic = new ProspectLogic();

                return(objlogic.AllocateLead(objSuspectPool));
            }
            catch (Exception e)
            {
                return(objSuspectPool);
            }
        }
Exemplo n.º 8
0
 public AIA.Life.Models.Opportunity.Prospect LoadContactInformation(AIA.Life.Models.Opportunity.Prospect objProspect)
 {
     try
     {
         ProspectLogic objlogic = new ProspectLogic();
         return(objlogic.LoadContactInformation(objProspect));
     }
     catch (Exception e)
     {
         log4net.GlobalContext.Properties["ErrorCode"] = objProspect.Error.ErrorCode = Codes.GetErrorCode();
         Logger.Error(e);
         objProspect.Error.ErrorMessage = "Please inform the IT HelpDesk on this application issue. Error Code is " + objProspect.Error.ErrorCode + ". Sorry for the inconvenience caused";
         return(objProspect);
     }
 }
Exemplo n.º 9
0
 public AIA.Life.Models.Opportunity.Prospect SaveProspect(AIA.Life.Models.Opportunity.Prospect objProspect)
 {
     try
     {
         ProspectLogic objlogic = new ProspectLogic();
         //if (string.IsNullOrEmpty(objProspect.ClientCode))
         //{
         //    objProspect = (Prospect)IL.ClientEnquiry(objProspect);
         //}
         objProspect.Error = new AIA.Life.Models.Common.Error();
         //if (string.IsNullOrEmpty(objProspect.Error.ErrorMessage))
         objProspect = objlogic.SaveProspect(objProspect);
         return(objProspect);
     }
     catch (Exception e)
     {
         log4net.GlobalContext.Properties["ErrorCode"] = objProspect.Error.ErrorCode = Codes.GetErrorCode();
         Logger.Error(e);
         objProspect.Error.ErrorMessage = "Please inform the IT HelpDesk on this application issue. Error Code is " + objProspect.Error.ErrorCode + ". Sorry for the inconvenience caused";
         return(objProspect);
     }
 }
Exemplo n.º 10
0
        public CampaignLeadType SaveCampaignLead(CampaignLeadType objCampaignLead)
        {
            ProspectLogic objlogic = new ProspectLogic();

            return(objlogic.SaveCampaignLead(objCampaignLead));
        }
Exemplo n.º 11
0
        public AIA.Life.Models.Opportunity.LifeQuote LoadQuoteMaster(AIA.Life.Models.Opportunity.LifeQuote objQuoteList)
        {
            ProspectLogic objlogic = new ProspectLogic();

            return(objlogic.LoadQuoteMaster(objQuoteList));
        }
Exemplo n.º 12
0
        public AIA.Life.Models.Opportunity.Prospect DeleteOpportunityInfo(AIA.Life.Models.Opportunity.Prospect objProspect)
        {
            ProspectLogic objlogic = new ProspectLogic();

            return(objlogic.DeleteOpportunity(objProspect));
        }