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