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())); } }
public List <Model.User> GetList(int count) { return(dal.GetList(count)); }