Пример #1
0
        public bool deleteFolder(int id)
        {
            folderDAO folderObjDAO = new folderDAO();

            if (folderObjDAO.deleteFolder(id))
            {
                return(true);
            }
            return(false);
        }
Пример #2
0
        public bool saveFolder(folderDTO obj)
        {
            folderDAO folderObjDAO = new folderDAO();

            if (folderObjDAO.saveFolder(obj))
            {
                return(true);
            }
            return(false);
        }
Пример #3
0
        public folderDTO getFolderById(int id)
        {
            folderDAO folderObjDAO = new folderDAO();

            return(folderObjDAO.getFolderById(id));
        }
Пример #4
0
        public folderDTO getFolder(folderDTO obj)
        {
            folderDAO folderObjDAO = new folderDAO();

            return(folderObjDAO.getFolder(obj));
        }
Пример #5
0
        public List <folderDTO> getAllFolders(folderDTO obj)
        {
            folderDAO folderObjDAO = new folderDAO();

            return(folderObjDAO.getAllFolders(obj));
        }