Esempio n. 1
0
 public List <ProductDTO> GetAll()
 {
     try
     {
         return(MapDTO.MapList <ProductDTO, Product>(_uow.ProductRepo.GetAll()));
     }
     catch (Exception e)
     {
         log.Error("kon geen producten oplijsten");
         throw new Exception(e.Message);
     }
 }
Esempio n. 2
0
 public List <VatDTO> GetAll()
 {
     try
     {
         return(MapDTO.MapList <VatDTO, Vat>(_uow.VatRepo.GetAll()));
     }
     catch (Exception e)
     {
         log.Error("kon geen btw's vinden", e);
         throw new Exception(e.Message);
     }
 }
Esempio n. 3
0
 public List <InvoiceDetailDTO> GetAll()
 {
     try
     {
         return(MapDTO.MapList <InvoiceDetailDTO, InvoiceDetail>(_uow.InvoiceDetailRepo.GetAll()));
     }
     catch (Exception e)
     {
         log.Error("kon geen facturen ophalen", e);
         throw new Exception(e.Message);
     }
 }
Esempio n. 4
0
 public List <CourseDTO> GetAll()
 {
     try
     {
         return(MapDTO.MapList <CourseDTO, Course>(_uow.CourseRepo.GetAll()));
     }
     catch (Exception e)
     {
         log.Error("kon niet ophalen", e);
         throw new Exception(e.Message);
     }
 }
Esempio n. 5
0
 public List <InvoiceDTO> GetAll()
 {
     return(MapDTO.MapList <InvoiceDTO, Invoice>(_uow.InvoiceRepo.GetAll()));
 }