public IList<Transaction> GetUncategorizedTransactions(string from, string to, string balanceType) { var dateFrom = DateTime.ParseExact(from, "yyyyMMdd", CultureInfo.InvariantCulture); var dateTo = DateTime.ParseExact(to, "yyyyMMdd", CultureInfo.InvariantCulture); var type = (BalanceType)Enum.Parse(typeof(BalanceType), balanceType, true); var transactionManager = new TransactionManager(); var list = transactionManager.GetUncategorizedTransactions(dateFrom, dateTo, type); return list; }