Ejemplo n.º 1
0
 public async Task <bool> LockoutAccount(
     Guid userGuid,
     CancellationToken cancellationToken = default(CancellationToken))
 {
     cancellationToken.ThrowIfCancellationRequested();
     return(await dbSiteUser.AccountLockout(userGuid, DateTime.UtcNow, cancellationToken));
 }
Ejemplo n.º 2
0
 public async Task <bool> LockoutAccount(Guid userGuid)
 {
     return(dbSiteUser.AccountLockout(userGuid, DateTime.UtcNow));
 }