Пример #1
0
    private void GetWords(dynamic data)
    {
        int          p_id   = (int)data.p_id;
        BL_CRMhandle _b_crm = new BL_CRMhandle();
        string       _Words = _b_crm.GetWords(Interna, p_id);
        string       _o     = "{\"_Words\":" + _Words + "}";

        Response.Write(_o);
    }
Пример #2
0
    private void Get_approval(dynamic data)
    {
        int UType     = UserSession.DealerEmpl.DE_UType;
        int AD_Code   = UserSession.DealerEmpl.DE_AD_OM_Code;
        int AT_CG_Cat = (int)data.AT_Cat;
        int AT_IType  = (int)data.AT_IType;
        int p_id      = (int)data.p_id;

        BL_Campaign  _b_Cam   = new BL_Campaign();
        string       _Process = _b_Cam.GetProcess(Interna, UType, AD_Code, AT_CG_Cat, AT_IType);
        BL_CRMhandle _b_crm   = new BL_CRMhandle();
        string       _Words   = _b_crm.GetWords(Interna, p_id);
        string       _o       = "{\"approval\":" + _Process + ",\"_Words\":" + _Words + "}";

        Response.Write(_o);
    }