예제 #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);
     }
 }
예제 #2
0
파일: VatLogic.cs 프로젝트: kidalv1/Webshop
 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);
     }
 }
예제 #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);
     }
 }
예제 #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);
     }
 }
예제 #5
0
 public List <InvoiceDTO> GetAll()
 {
     return(MapDTO.MapList <InvoiceDTO, Invoice>(_uow.InvoiceRepo.GetAll()));
 }