コード例 #1
0
        public MemberListEntityDC GetAllMemberByAccountId(string AccountID)
        {
            MemberListEntityDC   MemberEntity = new MemberListEntityDC();
            MemberServiceManager member       = new MemberServiceManager();

            MemberEntity = member.GetAllMemberByAccountId(AccountID);
            return(MemberEntity);
        }
コード例 #2
0
        public MemberListEntityDC GetAllMemberByAccountId(string AccountID)
        {
            MemberListEntityDC       MemberListEntityDC = new MemberListEntityDC();
            MemberEntityDC           MemberEntityDC     = new MemberEntityDC();;
            MembersServiceSoapClient membersrv          = new MembersServiceSoapClient();

            return(membersrv.GetAllMemberByAccountId(AccountID));
        }
コード例 #3
0
        public MemberListEntityDC GetAllMember(string Search, string AccountID, int PageIndex, int PageSizes, out int Count)
        {
            MemberListEntityDC       MemberListEntityDC = new MemberListEntityDC();
            MemberListEntityDC       AdminDC            = new MemberListEntityDC();
            MembersServiceSoapClient membersrv          = new MembersServiceSoapClient();

            //int count = 0;
            return(membersrv.GetAllMember(Search, AccountID, PageIndex, PageSizes, out Count));
        }
コード例 #4
0
        public MemberListEntityDC GetAllMemberByAccountId(string AccountID)
        {
            MemberListEntityDC productResponse = new MemberListEntityDC();
            MemberEntityDC     member          = new MemberEntityDC();
            MemberDAL          memberDAL       = new MemberDAL();

            productResponse = memberDAL.GetAllMemberByAccountId(AccountID);
            return(productResponse);
        }
コード例 #5
0
        public MemberListEntityDC GetAllMember(string Search, string AccountID, int PageIndex, int PageSize, out int Count)
        {
            MemberListEntityDC productResponse = new MemberListEntityDC();
            MemberEntityDC     member          = new MemberEntityDC();
            MemberDAL          memberDAL       = new MemberDAL();

            productResponse = memberDAL.GetAllMember(Search, AccountID, PageIndex, PageSize, out Count);
            return(productResponse);
        }
コード例 #6
0
        public MemberListEntityDC GetAllMember(string Search, string AccountID, int PageIndex, int PageSize, out int Count)
        {
            MemberListEntityDC   MemberEntity = new MemberListEntityDC();
            MemberServiceManager member       = new MemberServiceManager();

            //  int count = 0;
            MemberEntity = member.GetAllMember(Search, AccountID, PageIndex, PageSize, out Count);
            return(MemberEntity);
        }
コード例 #7
0
        public ActionResult List(string Search, string AccountID, int PageIndex, int PageSize)
        {
            int    Count  = 0;
            string roleid = null;

            //if (global.SelectUserRoleID == "1")
            //    CompanyID = CompanyID == "-" ? "" : CompanyID;
            //else
            //{
            //    CompanyID = global.Company;
            //    roleid = global.SelectUserRoleID;
            //}

            MemberBLL          EmployeeBLL = new MemberBLL();
            MemberListEntityDC data        = new MemberListEntityDC();

            data = EmployeeBLL.GetAllMember(Search, AccountID, PageIndex, PageSize, out Count);
            Dictionary <string, object> retData = new Dictionary <string, object>();

            retData.Add("data", data);
            retData.Add("total", Count);

            return(Json(retData, JsonRequestBehavior.AllowGet));
        }