예제 #1
0
파일: UserBLL.cs 프로젝트: cl456852/Demo
        public static int Save(string name, string address, string tel, string email, int state)
        {
            User u = new User();

            u.Name       = name;
            u.Address    = address;
            u.Tel        = tel;
            u.Email      = email;
            u.User_state = UserStateDAL.SelectById(state);
            return(UserDAL.Insert(u));
        }
예제 #2
0
 public static List <UserState> GetAllUserState()
 {
     return(UserStateDAL.SelectByOther(""));
 }