Пример #1
0
 public async Task <bool> DeleteByUsernameAsync(string username)
 {
     if (!await _redisManager.KeyExists(0, username))
     {
         return(false);
     }
     return(await _redisManager.KeyDelete(0, username));
 }