public List <ExportDTO> LoadAllExport() { ExportDAO dao = new ExportDAO(); List <ExportDTO> result = dao.loadAllExport(); return(result); }
public ExportDTO LoadOneExport(int id) { ExportDAO dao = new ExportDAO(); ExportDTO result = dao.loadExportByID(id); return(result); }
public void UpdateExport(ExportDTO export) { ExportDAO dao = new ExportDAO(); dao.updateExport(export); }
public void DeleteExport(int id) { ExportDAO dao = new ExportDAO(); dao.deleteExportByID(id); }
public int AddNewExport(ExportDTO export) { ExportDAO dao = new ExportDAO(); return(dao.AddNewExport(export)); }