Example #1
0
        public DataSet GetList(string username)
        {
            StringBuilder strwhere = new StringBuilder();

            strwhere.Append("UserName='******' ");
            if (username == string.Empty)
            {
                return(dal.GetList(""));
            }
            else
            {
                return(dal.GetList(strwhere.ToString()));
            }
        }
Example #2
0
 public List <Model.User> GetList(int count)
 {
     return(dal.GetList(count));
 }