Пример #1
0
 public async Task <bool> DeleteLoginsByUser(int siteId, string userId)
 {
     return(await dbUserLogins.DeleteByUser(siteId, userId));
 }
Пример #2
0
 public async Task <bool> DeleteLoginsByUser(int siteId, string userId, CancellationToken cancellationToken = default(CancellationToken))
 {
     cancellationToken.ThrowIfCancellationRequested();
     return(await dbUserLogins.DeleteByUser(siteId, userId));
 }