Refactor redundant null check in the 'brand' variable assignment
This commit is contained in:
parent
286971e60c
commit
0654a2966a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user