Exemple #1
0
        public List <ExportDTO> LoadAllExport()
        {
            ExportDAO        dao    = new ExportDAO();
            List <ExportDTO> result = dao.loadAllExport();

            return(result);
        }
Exemple #2
0
        public ExportDTO LoadOneExport(int id)
        {
            ExportDAO dao    = new ExportDAO();
            ExportDTO result = dao.loadExportByID(id);

            return(result);
        }
Exemple #3
0
        public void UpdateExport(ExportDTO export)
        {
            ExportDAO dao = new ExportDAO();

            dao.updateExport(export);
        }
Exemple #4
0
        public void DeleteExport(int id)
        {
            ExportDAO dao = new ExportDAO();

            dao.deleteExportByID(id);
        }
Exemple #5
0
        public int AddNewExport(ExportDTO export)
        {
            ExportDAO dao = new ExportDAO();

            return(dao.AddNewExport(export));
        }