Example #1
0
        internal IList <User> GetAllUsers_SQLITE()
        {
            _usersDataRetrieval = new UsersDataRetrieval(() => new AppContext(AppConstants.SQLITE_CONNECTION_STRING));
            _usersSqLite        = new List <User>(_usersDataRetrieval.GetAllUsers());

            return(_usersSqLite);
        }
Example #2
0
        internal IList <User> GetAllUsers_MYSQL()
        {
            _usersDataRetrieval = new UsersDataRetrieval(() => new AppContext(AppConstants.MYSQL_CONNECTION_STRING));
            _usersMySql         = new List <User>(_usersDataRetrieval.GetAllUsers());

            return(_usersMySql);
        }