Exemplo n.º 1
0
        public ProposalStatus FetchProposalStatus(ProposalStatus proposalStatus)
        {
            TpServiceLog tpServiceLog = new TpServiceLog();

            tpServiceLog.ServiceRequest = Newtonsoft.Json.JsonConvert.SerializeObject(proposalStatus);
            TransactLog transactLog = new TransactLog();

            transactLog.SerivceTraceID = tpServiceLog.ServiceTraceID = proposalStatus.ServiceTraceID;
            transactLog.UserName       = proposalStatus.UserName;
            string Message = ValidateUserAuth(transactLog);

            if (Message != "" && Message != null)
            {
                proposalStatus.Message = Message;
                return(proposalStatus);
            }
            AIA.Life.Business.Policy.PolicyBusiness objPolicyBusiness = new AIA.Life.Business.Policy.PolicyBusiness();

            proposalStatus = objPolicyBusiness.FetchProposalStatus(proposalStatus);

            tpServiceLog.ServiceResponse = Newtonsoft.Json.JsonConvert.SerializeObject(proposalStatus);
            commonBusiness.CreateServiceLog(tpServiceLog);
            return(proposalStatus);
        }
Exemplo n.º 2
0
 public ProposalStatus FetchProposalStatus(ProposalStatus proposalStatus)
 {
     AIA.Life.Business.Policy.PolicyBusiness objPolicyBusiness = new AIA.Life.Business.Policy.PolicyBusiness();
     return(objPolicyBusiness.FetchProposalStatus(proposalStatus));
 }