public IEnumerable <InvoiceDetailDTO> GetInvoiceDetails(int invoiceNr) { return(MapDTO.MapList <InvoiceDetailDTO, InvoiceDetail>(repo.ReadDetails(invoiceNr))); }
public IEnumerable <CustomerDTO> GetCustomers() { return(MapDTO.MapList <CustomerDTO, Customer>(repo.ReadCustomers())); }
public IEnumerable <InvoiceDTO> GetInvoices() { return(MapDTO.MapList <InvoiceDTO, Invoice>(repo.ReadInvoices())); }