コード例 #1
0
        public List <vmUser> GetUser(int?companyID, int?loggedUser, int?pageNumber, int?pageSize, int?IsPaging)
        {
            List <vmUser> obj = null;

            try
            {
                obj = objDDLService.GetUserForDropDownList(companyID, loggedUser, pageNumber, pageSize, IsPaging).ToList();
            }
            catch (Exception e)
            {
                e.ToString();
            }
            return(obj);
        }
コード例 #2
0
        public List <vmUser> GetUser(object[] data)
        {
            List <vmUser> obj = null;

            try
            {
                vmCmnParameters objcmnParam = JsonConvert.DeserializeObject <vmCmnParameters>(data[0].ToString());

                obj = objSystemCommonDDL.GetUserForDropDownList(objcmnParam.loggedCompany, objcmnParam.loggeduser, objcmnParam.pageNumber, objcmnParam.pageSize, objcmnParam.IsPaging).ToList();
            }
            catch (Exception e)
            {
                e.ToString();
            }
            return(obj);
        }