public void CreateUser(User user) { _userDataProvider.CreateUser(user.UserName, BCrypt.Net.BCrypt.HashPassword(user.Password), user); }