public SmartCollection<Invoice> DoGetPendingInvoices(bool showAll, Identification identification) { logger.Log(LogLevel.Trace, AppLib.GetCaller(logger)); using (SampleDAO dao = new SampleDAO()) { return dao.GetPendingInvoices(showAll, identification); } }