コード例 #1
0
 public bool DoesConfigurationPairExist(string baseSymbol, string targetSymbol)
 {
     return(Repository.Get(baseSymbol, targetSymbol) != null);
 }
コード例 #2
0
        public SymbolConfigurationDTO GetCurrency(SymbolConfigurationDTO model)
        {
            var entity = Repository.Get(model.Id);

            return(new SymbolConfigurationDTO(entity.Id, entity.BaseSymbol, entity.TargetSymbol));
        }