Пример #1
0
        public AIA.Life.Models.Policy.Policy LoadProposalInfo(AIA.Life.Models.Policy.Policy objpolicy)
        {
            TpServiceLog tpServiceLog = new TpServiceLog();

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

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

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

            tpServiceLog.ServiceResponse = Newtonsoft.Json.JsonConvert.SerializeObject(objpolicy);
            commonBusiness.CreateServiceLog(tpServiceLog);
            return(objpolicy);
        }
Пример #2
0
 public void InvokeILWorkFlowAck(AIA.Life.Models.Policy.Policy objPolicy)
 {
     AIA.Life.Business.Policy.PolicyBusiness objPolicyBusiness = new AIA.Life.Business.Policy.PolicyBusiness();
     objPolicyBusiness.InvokeILWorkFlowAck(objPolicy);
 }