Add helper function
This commit is contained in:
parent
97beccad46
commit
2d4af091aa
@ -1,4 +1,5 @@
|
|||||||
using AssortValidator.Common.Models;
|
using AssortValidator.Common.Models;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace AssortValidator.Common.Helpers
|
namespace AssortValidator.Common.Helpers
|
||||||
@ -40,5 +41,10 @@ namespace AssortValidator.Common.Helpers
|
|||||||
|
|
||||||
return returnType;
|
return returnType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static string GetTraderIdByName(Trader key)
|
||||||
|
{
|
||||||
|
return _traders.GetValueOrDefault(key, string.Empty);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user