Beispiel #1
0
 public MODEL.T_DIC_User GetModel(int uid)
 {
     DAL.T_DIC_User dal = new DAL.T_DIC_User();
     string where;
     where = "ID=" + uid;
     MODEL.T_DIC_User model = dal.Get(where)[0];
     return(model);
 }
Beispiel #2
0
        public List <MODEL.T_DIC_User> GetAll()
        {
            List <MODEL.T_DIC_User> lst = new List <MODEL.T_DIC_User>();

            DAL.T_DIC_User dal = new DAL.T_DIC_User();
            lst = dal.Get("1=1");
            return(lst);
        }