Ejemplo n.º 1
0
 public async Task <bool> AddHost(
     Guid siteGuid,
     int siteId,
     string hostName,
     CancellationToken cancellationToken = default(CancellationToken))
 {
     cancellationToken.ThrowIfCancellationRequested();
     return(dbSiteSettings.AddHost(siteGuid, siteId, hostName));
 }
Ejemplo n.º 2
0
 public async Task <bool> AddHost(Guid siteGuid, int siteId, string hostName)
 {
     return(dbSiteSettings.AddHost(siteGuid, siteId, hostName));
 }