Exemplo n.º 1
0
 public Comic_detail(int id, string name, int coid)
 {
     a   = cm.FindComic(id);
     ca  = a.Comic_chapter;
     co  = a.Comment.OrderByDescending(o => o.Comment_time).ToPagedList(coid, 4);
     ac  = cm.FindTop(4);
     ur  = us.Findname(name);
     su  = sm.Findsu(ur.User_id);
     fol = a.Follow.Where(o => o.User_id == ur.User_id).FirstOrDefault();
 }