public bool DoesConfigurationPairExist(string baseSymbol, string targetSymbol) { return(Repository.Get(baseSymbol, targetSymbol) != null); }
public SymbolConfigurationDTO GetCurrency(SymbolConfigurationDTO model) { var entity = Repository.Get(model.Id); return(new SymbolConfigurationDTO(entity.Id, entity.BaseSymbol, entity.TargetSymbol)); }