public IQueryable <Transaction> GetSvcTransactionsInEur([FromRoute] string sku) { IQueryable <Transaction> trs = transactionsvc.GetTransactionsBySku(sku); IQueryable <Rate> rts = ratesvc.GetAllRates(); return(TransactionConverter.CalculateAlgorithm(rts, trs, "EUR")); }
public IQueryable <Transaction> GetTransactionsInEur([FromRoute] string sku) { IQueryable <Transaction> trs = transactionRep.GetAllByField("Sku", sku); IQueryable <Rate> rts = rateRep.GetAll(); return(TransactionConverter.CalculateAlgorithm(rts, trs, "EUR")); }