Example #1
0
        public UserSettings GetUserByEmailAddress(string email)
        {
            DatabaseUser databaseUser = _dbQueryService.GetUserByEmailAddress(email);

            if (databaseUser == null)
            {
                return(null);
            }
            else
            {
                return(new UserSettings(databaseUser));
            }
        }