public List <InvoiceDTO> GetAllInvoices() { return(_uow.Invoices .All() .Select(i => _invoiceFactory.Transform(i)) .ToList()); }