public User Create(string username, string twitchId, string youTubeId, string password = null) { User user = gameData.CreateUser(); user.TwitchId = twitchId; user.YouTubeId = youTubeId; user.Username = username; user.PasswordHash = StringHasher.Get(password); return(user); }