示例#1
0
        private List <UserModel> UsersFromDB()
        {
            UserDataImp      userDB     = new UserDataImp();
            List <UserModel> userResult = userDB.GetUserList();

            return(userResult);
        }
        List <UserModel> IUserService.UserReturn()
        {
            List <UserModel> umd    = new List <UserModel>();
            UserDataImp      usrImp = new UserDataImp();

            umd = usrImp.GetUserList();
            return(umd);
        }