private User CreateUserWithTempFlag(string email, string password, bool temp) { var user = new User { Email = email, PasswordHash = _hash.CreateMD5Hash(password), ApiToken = _hash.CreateApiToken(email, password), Temp = temp }; return(user); }