예제 #1
0
 public DataTable SelectVideo()
 {
     return(CBO.ConvertToDataTable(ListVideo(), typeof(VideoInfo)));
 }
예제 #2
0
 public DataTable SelectAdminPageRole()
 {
     return(CBO.ConvertToDataTable(ListAdminPageRole(), typeof(AdminPageRoleInfo)));
 }
예제 #3
0
 public DataTable SelectCategory()
 {
     return(CBO.ConvertToDataTable(ListCategory(), typeof(CategoryInfo)));
 }
예제 #4
0
 public DataTable SelectAdminUser()
 {
     return(CBO.ConvertToDataTable(ListAdminUser(), typeof(AdminUserInfo)));
 }
예제 #5
0
        public DataTable SelectQuestionAnswer(int articleId)
        {
            var questionAnswers = CBO.FillCollection <QuestionAnswerInfo>(SQL.ListQuestionAnswer(articleId));

            return(CBO.ConvertToDataTable(questionAnswers, typeof(QuestionAnswerInfo)));
        }
예제 #6
0
 public DataTable SelectRegisterSuccess()
 {
     return(CBO.ConvertToDataTable(ListRegisterByStatus(2), typeof(RegisterInfo)));
 }
예제 #7
0
        public DataTable SelectBannerPrice()
        {
            var banners = CBO.FillCollection <BannerInfo>(SQL.ListBannerPrice());

            return(CBO.ConvertToDataTable(banners, typeof(BannerInfo)));
        }
예제 #8
0
        public DataTable SelectCustomerReview(int articleId)
        {
            var customerReviews = CBO.FillCollection <CustomerReviewInfo>(SQL.ListCustomerReview(articleId));

            return(CBO.ConvertToDataTable(customerReviews, typeof(CustomerReviewInfo)));
        }
예제 #9
0
        public DataTable SelectArticleEditting()
        {
            var adminUser = AdminUserController.GetCurrentAdminUser();

            return(CBO.ConvertToDataTable(ListArticleByRole((int)Globals.DocumentStatus.Editting, adminUser.UserID), typeof(ArticleInfo)));
        }
예제 #10
0
 public DataTable SelectCustomer()
 {
     return(CBO.ConvertToDataTable(ListCustomer(), typeof(CustomerInfo)));
 }
예제 #11
0
 public DataTable SelectAdminWorkFlow()
 {
     return(CBO.ConvertToDataTable(ListAdminWorkFlow(), typeof(AdminWorkFlowInfo)));
 }
예제 #12
0
 public DataTable SelectAdminRoleToByUser(int userId)
 {
     return(CBO.ConvertToDataTable(ListAdminRoleToByUser(userId), typeof(AdminRoleInfo)));
 }
예제 #13
0
        public DataTable SelectPicture()
        {
            var pictures = CBO.FillCollection <PictureInfo>(SQL.ListPicture());

            return(CBO.ConvertToDataTable(pictures, typeof(PictureInfo)));
        }
예제 #14
0
 public DataTable SelectRegisterCancel()
 {
     return(CBO.ConvertToDataTable(ListRegisterByStatus(3), typeof(RegisterInfo)));
 }
예제 #15
0
 public DataTable SelectLinkWebsite()
 {
     return(CBO.ConvertToDataTable(ListLinkWebsite(), typeof(LinkWebsiteInfo)));
 }
예제 #16
0
 public DataTable SelectSponsor()
 {
     return(CBO.ConvertToDataTable(ListSponsor(), typeof(SponsorInfo)));
 }
예제 #17
0
        public DataTable SelectHyperLink()
        {
            var hyperLinks = CBO.FillCollection <HyperLinkInfo>(SQL.ListHyperLink());

            return(CBO.ConvertToDataTable(hyperLinks, typeof(HyperLinkInfo)));
        }
예제 #18
0
 public DataTable SelectRegisterPending()
 {
     return(CBO.ConvertToDataTable(ListRegisterByStatus(1), typeof(RegisterInfo)));
 }