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