Ejemplo n.º 1
0
        //public IList<IEntityTitle> GetTitles(Int32 categoryid, Int32 pageIndex = 1, Int32 pageCount = 10)
        //{
        //    return EntityTitle<TEntity>.GetTitles(categoryid, pageIndex, pageCount).ToList().Cast<IEntityTitle>().ToList();
        //}

        //public int GetTitleCount(int categoryId)
        //{
        //    return EntityTitle<TEntity>.GetTitleCount(categoryId);
        //}

        public IList <IEntityTitle> GetTitles(Int32 categoryid, PageParameter pager)
        {
            return(EntityTitle <TEntity> .GetTitles(categoryid, pager).ToList().Cast <IEntityTitle>().ToList());
        }
Ejemplo n.º 2
0
 public virtual IEntityTitle FindByID(Int32 id)
 {
     return(EntityTitle <TEntity> .FindByID(id));
 }