public int GetIdByOrderType(OrderType orderType) { return(CacheDictionary.First( pair => pair.Value == orderType).Key); }