Пример #1
0
        public List <BusinessLogicUsers> GetUsers()
        {
            List <DataAccessUsers>    dUsers = _userDataAccess.GetUsers();
            List <BusinessLogicUsers> bUsers = _userMapper.MapUsers(dUsers);

            return(bUsers);
        }
Пример #2
0
        //Method to Get All Users in Database
        public List <Users> GetUsers()
        {
            List <Users>    Users   = new List <Users>();
            UsersDataAccess usersDA = new UsersDataAccess();

            Users = usersDA.GetUsers();
            return(Users);
        }