public AIA.Life.Models.Opportunity.Prospect SaveProspect(AIA.Life.Models.Opportunity.Prospect objProspect) { #region Call API objProspect = WebApiLogic.GetPostComplexTypeToAPI <AIA.Life.Models.Opportunity.Prospect>(objProspect, "SaveProspect", "Suspect"); #endregion return(objProspect); }
public QuoteList() { objProspect = new Prospect(); objListQuote = new List <LifeQuote>(); ObjLifeQuote = new LifeQuote(); ObjQuotationPreviousInsurance = new QuotationPreviousInsurance(); }
public LifeQuote() { objProspect = new Prospect(); ObjQuotationPreviousInsurance = new QuotationPreviousInsurance(); lstGender = new List <Common.MasterListItem>(); lstOccupation = new List <Common.MasterListItem>(); objProductDetials = new ProductDetials(); objQuoteMemberDetails = new List <QuoteMemberDetails>(); LstBenefitOverView = new List <BenifitDetails>(); LstPremiumOverview = new List <BenifitDetails>(); LstIllustation = new List <Illustation>(); objQuoteMemberDetails = new List <QuoteMemberDetails>(); ListPlan = new List <MasterListItem>(); LstPolicyTerm = new List <MasterListItem>(); LstPremiumTerm = new List <MasterListItem>(); lstLanguage = new List <MasterListItem>(); lstPrefMode = new List <MasterListItem>(); LstBenefitOverView = new List <BenifitDetails>(); LstPremiumOverview = new List <BenifitDetails>(); lstSumInsured = new List <MasterListItem>(); objPreviousInsuranceList = new List <PreviousInsuranceList>(); objChildDetials = new List <ChildDetails>(); objSpouseDetials = new SpouseDetails(); lstSAM = new List <MasterListItem>(); Error = new Error(); LstDrawDownDetails = new List <Common.DrawDownDetails>(); }
public AIA.Life.Models.Opportunity.Prospect FetchNicverifyPolicyIL(AIA.Life.Models.Opportunity.Prospect objProspect) { #region Call API objProspect = WebApiLogic.GetPostComplexTypeToAPI <AIA.Life.Models.Opportunity.Prospect>(objProspect, "FetchNicverifyPolicyIL", "Suspect"); #endregion return(objProspect); }
public AIA.Life.Models.Opportunity.Prospect LoadAllocateSuspect(AIA.Life.Models.Opportunity.Prospect objPolicy) { #region Call API objPolicy = WebApiLogic.GetPostComplexTypeToAPI <AIA.Life.Models.Opportunity.Prospect>(objPolicy, "LoadAllocateSuspect", "Suspect"); #endregion return(objPolicy); }
//public Contacts SaveSuspectDetails(Contacts objSuspect) //{ // //Contacts objSuspectDetails = new Contacts(); // //#region Call API // //objSuspectDetails = WebApiLogic.GetPostComplexTypeToAPI<Contacts>(objSuspect, "SaveSuspectDetails", "Suspect"); // //#endregion // return objSuspectDetails; //} public AIA.Life.Models.Opportunity.Prospect LoadProspectPool(AIA.Life.Models.Opportunity.Prospect objPolicyData) { #region Call API objPolicyData = WebApiLogic.GetPostComplexTypeToAPI <AIA.Life.Models.Opportunity.Prospect>(objPolicyData, "LoadProspectPool", "Suspect"); #endregion return(objPolicyData); }
public AIA.Life.Models.Opportunity.Prospect LoadContactInformation(AIA.Life.Models.Opportunity.Prospect objProspect) { #region Call API objProspect = WebApiLogic.GetPostComplexTypeToAPI <AIA.Life.Models.Opportunity.Prospect>(objProspect, "LoadContactInformation", "Suspect"); #endregion return(objProspect); }
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); }
public AIA.Life.Models.Opportunity.Prospect FetchNicForModifySuspect(AIA.Life.Models.Opportunity.Prospect objProspect) { AIA.Life.Business.Prospect.ProspectBusiness objProspectBusiness = new AIA.Life.Business.Prospect.ProspectBusiness(); objProspect = objProspectBusiness.FetchNicverify(objProspect); if (objProspect == null) { objProspect = objProspectBusiness.FetchNicverifyPolicyIL(objProspect); } return(objProspect); }
//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); }
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); } }
public AIA.Life.Models.Opportunity.Prospect LoadProspectPool(AIA.Life.Models.Opportunity.Prospect objPolicyLoadData) { try { AIA.Data.Life.API.ControllerLogic.Prospect.ProspectLogic objProspectLogic = new ControllerLogic.Prospect.ProspectLogic(); objPolicyLoadData.ObjProspectPool = objProspectLogic.GetProspectPool(objPolicyLoadData); return(objPolicyLoadData); } catch (Exception e) { log4net.GlobalContext.Properties["ErrorCode"] = objPolicyLoadData.Error.ErrorCode = Codes.GetErrorCode(); Logger.Error(e); objPolicyLoadData.Error.ErrorMessage = "Please inform the IT HelpDesk on this application issue. Error Code is " + objPolicyLoadData.Error.ErrorCode + ". Sorry for the inconvenience caused"; return(objPolicyLoadData); } }
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); } }
public AIA.Life.Models.Opportunity.Prospect SendEmailAndSMSNotificationOnSAveProspect(AIA.Life.Models.Opportunity.Prospect objProspect) { #region Call API objProspect = WebApiLogic.GetPostComplexTypeToAPI <AIA.Life.Models.Opportunity.Prospect>(objProspect, "SendEmailAndSMSNotificationOnSAveProspect", "Policy"); //WebApiLogic.FireForgetAPI(objProspect, "SendEmailAndSMSNotificationOnSAveProspect", "Policy"); #endregion return(objProspect); }
public AIA.Life.Models.Opportunity.Prospect LoadContactInformation(AIA.Life.Models.Opportunity.Prospect objProspect) { AIA.Life.Business.Prospect.ProspectBusiness objProspectBusiness = new AIA.Life.Business.Prospect.ProspectBusiness(); objProspect = objProspectBusiness.LoadContactInformation(objProspect); return(objProspect); }
public AIA.Life.Models.Opportunity.Prospect SaveNeedAnalysis(AIA.Life.Models.Opportunity.Prospect objProspect) { AIA.Life.Business.Prospect.ProspectBusiness objProspectBusiness = new AIA.Life.Business.Prospect.ProspectBusiness(); objProspect = objProspectBusiness.SaveNeedAnalysis(objProspect); return(objProspect); }
public AIA.Life.Models.Opportunity.Prospect DeleteOpportunityInfo(AIA.Life.Models.Opportunity.Prospect objSuspect) { AIA.Life.Business.Prospect.ProspectBusiness objProspectBusiness = new AIA.Life.Business.Prospect.ProspectBusiness(); objSuspect = objProspectBusiness.DeleteOpportunityInfo(objSuspect); return(objSuspect); }
//FetchNicverifyPolicyIL public AIA.Life.Models.Opportunity.Prospect FetchNicverifyPolicyIL(AIA.Life.Models.Opportunity.Prospect objProspect) { AIA.Life.Business.Prospect.ProspectBusiness objProspectBusiness = new AIA.Life.Business.Prospect.ProspectBusiness(); objProspect = objProspectBusiness.FetchNicverifyPolicyIL(objProspect); return(objProspect); }
public AIA.Life.Models.Opportunity.Prospect FetchNicDetails(AIA.Life.Models.Opportunity.Prospect objProspect) { AIA.Life.Business.Prospect.ProspectBusiness objProspectBusiness = new AIA.Life.Business.Prospect.ProspectBusiness(); objProspect = objProspectBusiness.FetchNicDetails(objProspect); return(objProspect); }
public AIA.Life.Models.Opportunity.Prospect LoadAllocateSuspect(AIA.Life.Models.Opportunity.Prospect objPolicyData) { AIA.Life.Business.Prospect.ProspectBusiness objProspectBusiness = new AIA.Life.Business.Prospect.ProspectBusiness(); objPolicyData = objProspectBusiness.LoadAllocateSuspect(objPolicyData); return(objPolicyData); }
public AIA.Life.Models.Opportunity.Prospect FetchNicDetails(AIA.Life.Models.Opportunity.Prospect objProspect) { //objProspect = (Prospect)IL.ClientEnquiry(objProspect); return(objProspect); }
public AIA.Life.Models.Opportunity.Prospect LoadProspectPoolData(AIA.Life.Models.Opportunity.Prospect objPolicyData) { AIA.Life.Business.Prospect.ProspectBusiness objProspectBusiness = new AIA.Life.Business.Prospect.ProspectBusiness(); objPolicyData = objProspectBusiness.LoadProspectPool(objPolicyData); return(objPolicyData); }
public AIA.Life.Models.Opportunity.Prospect DeleteOpportunityInfo(AIA.Life.Models.Opportunity.Prospect objProspect) { ProspectLogic objlogic = new ProspectLogic(); return(objlogic.DeleteOpportunity(objProspect)); }