diff options
author | Serghei Cebotari <serghei@cebotari.ru> | 2023-10-20 22:35:44 +0300 |
---|---|---|
committer | Serghei Cebotari <serghei@cebotari.ru> | 2023-10-20 22:35:44 +0300 |
commit | 020922d749ab0f53fc178700e2181487be9a05ee (patch) | |
tree | ff223078562ddade13ee7c95344c0e5253946ea1 /RhSolutions.QueryModifiers/BypassQueryModifier.cs | |
parent | 931b08e00d8822e98db036c169dcbe83c2361635 (diff) |
Edit TryQueryNodify types
Diffstat (limited to 'RhSolutions.QueryModifiers/BypassQueryModifier.cs')
-rw-r--r-- | RhSolutions.QueryModifiers/BypassQueryModifier.cs | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/RhSolutions.QueryModifiers/BypassQueryModifier.cs b/RhSolutions.QueryModifiers/BypassQueryModifier.cs index 2c38b27..a8bba7e 100644 --- a/RhSolutions.QueryModifiers/BypassQueryModifier.cs +++ b/RhSolutions.QueryModifiers/BypassQueryModifier.cs @@ -1,12 +1,10 @@ -using Microsoft.AspNetCore.Http; - -namespace RhSolutions.QueryModifiers; +namespace RhSolutions.QueryModifiers; public sealed class BypassQueryModifier : IProductQueryModifier { - public bool TryQueryModify(IQueryCollection collection, out QueryString queryString) - { - queryString = QueryString.Empty; - return false; - } + public bool TryQueryModify(string query, out string queryModified) + { + queryModified = string.Empty; + return false; + } }
\ No newline at end of file |