public async Task <int> GetSiteIdByHostName( string hostName, CancellationToken cancellationToken = default(CancellationToken)) { cancellationToken.ThrowIfCancellationRequested(); return(await dbSiteSettings.GetSiteIdByHostName(hostName, cancellationToken)); }
public async Task <int> GetSiteIdByHostName(string hostName) { return(dbSiteSettings.GetSiteIdByHostName(hostName)); }