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); } }
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); } }
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); } }
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); } }
public List <InvoiceDTO> GetAll() { return(MapDTO.MapList <InvoiceDTO, Invoice>(_uow.InvoiceRepo.GetAll())); }