示例#1
0
 public void GetDetail(Container_Article_Detail conta_Atc_Dta,int id)
 {
     arDal = new ArticleDAL();
     conta_Atc_Dta.curArticle = arDal.GetDetail(id);
     conta_Atc_Dta.list_Article = arDal.GetAllAriticleTitle();
     arDal.ReturnUnitToPool();
 }
 public ArticleController()
 {
     conta_List_Atc = new Container_List_Article();
     conta_Atc_Dta = new Container_Article_Detail();
     arPage = new Paginate()
     {
         PageSize = GLB.articlePerPageCount
     };
 }