Example #1
0
        public bool AddUsers(USER_DETAILS userDetail)
        {
            var user = new User();

            user.User_ID     = DataAccessManager.GetNextUserID();
            user.FirstName   = userDetail.First_Name;
            user.LastName    = userDetail.Last_Name;
            user.Project_ID  = userDetail.Project_ID;
            user.Employee_ID = Convert.ToString(userDetail.Employee_ID);
            return(DataAccessManager.AddUser(user));
        }