예제 #1
0
 public DataTable GetAlbumsByCateHomeAll(int n, string strCate, string approval)
 {
     string restr = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
     AlbumsDAO albumsDAO = new AlbumsDAO();
     return albumsDAO.GetAlbumsByCateHomeAll(n, restr, approval);
 }
예제 #2
0
 public DataTable GetAlbumsByCateHomeList(string strCate)
 {
     string restr = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
     AlbumsDAO albumsDAO = new AlbumsDAO();
     return albumsDAO.GetAlbumsByCateHomeList(restr);
 }
예제 #3
0
 public DataTable AlbumsSearch(string keyword, int cId)
 {
     AlbumsDAO albumsDAO = new AlbumsDAO();
     return albumsDAO.AlbumsSearch(keyword, cId);
 }
예제 #4
0
 public DataTable GetAlbumsAll()
 {
     AlbumsDAO albumsDAO = new AlbumsDAO();
     return albumsDAO.GetAlbumsAll();
 }
예제 #5
0
 public DataTable AlbumsFollow(int Id, int cId, int n)
 {
     AlbumsDAO albumsDAO = new AlbumsDAO();
     return albumsDAO.AlbumsFollow(Id, cId, n);
 }
예제 #6
0
 public DataTable GetAlbumsViewHome(int n, string approval)
 {
     AlbumsDAO albumsDAO = new AlbumsDAO();
     return albumsDAO.GetAlbumsViewHome(n, approval);
 }
예제 #7
0
 public DataTable GetAlbumsViewHome(int n)
 {
     AlbumsDAO albumsDAO = new AlbumsDAO();
     return albumsDAO.GetAlbumsViewHome(n);
 }
예제 #8
0
 public DataTable GetAlbumsHot(int n)
 {
     AlbumsDAO albumsDAO = new AlbumsDAO();
     return albumsDAO.GetAlbumsHot(n);
 }
예제 #9
0
 public Albums GetAlbumsById(int nId)
 {
     AlbumsDAO albumsDAO = new AlbumsDAO();
     return albumsDAO.GetAlbumsById(nId);
 }