mirror of
https://github.com/Biarity/Sieve.git
synced 2025-07-28 05:03:22 +02:00
Fixed typos/style
This commit is contained in:
@@ -88,13 +88,11 @@ namespace Sieve.Services
|
||||
{
|
||||
try
|
||||
{
|
||||
var me = _map[typeof(TEntity)]
|
||||
.FirstOrDefault(kv =>
|
||||
return _map[typeof(TEntity)]
|
||||
.FirstOrDefault(kv =>
|
||||
kv.Value.Name.Equals(name, isCaseSensitive ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase) &&
|
||||
(canSortRequired ? kv.Value.CanSort : true) &&
|
||||
(canFilterRequired ? kv.Value.CanFilter : true));
|
||||
|
||||
return me.Key;
|
||||
(canFilterRequired ? kv.Value.CanFilter : true)).Key;
|
||||
}
|
||||
catch (Exception ex) when (ex is KeyNotFoundException || ex is ArgumentNullException)
|
||||
{
|
||||
|
Reference in New Issue
Block a user