Browse Source
Refactor redundant null check in the 'brand' variable assignment
pull/2053/head
Sultan Soltanov
1 year ago
No known key found for this signature in database
GPG Key ID: F2476AD2A719780D
1 changed files with
1 additions and
1 deletions
-
src/Web/WebMVC/Infrastructure/API.cs
|
|
@ -61,7 +61,7 @@ public static class API |
|
|
|
} |
|
|
|
else if (brand.HasValue) |
|
|
|
{ |
|
|
|
var brandQs = (brand.HasValue) ? brand.Value.ToString() : string.Empty; |
|
|
|
var brandQs = brand.Value.ToString(); |
|
|
|
filterQs = $"/type/all/brand/{brandQs}"; |
|
|
|
} |
|
|
|
else |
|
|
|