private UserContract CallCreate(string name = "hatsune_miku", string pass = "******", string email = "", string hostname = defaultHostname, string culture = defaultCulture, TimeSpan?timeSpan = null) { return(data.Create(name, pass, email, hostname, culture, timeSpan ?? TimeSpan.FromMinutes(39), softBannedIPs, string.Empty)); }
private Task <UserContract> CallCreate(string name = "hatsune_miku", string pass = "******", string email = "", string hostname = defaultHostname, string culture = defaultCulture, TimeSpan?timeSpan = null) { return(data.Create(name, pass, email, hostname, null, culture, timeSpan ?? TimeSpan.FromMinutes(39), ipRuleManager, string.Empty)); }