public ActionResult Index(int?page) { return(View(_dbOffer.Get().ToPagedList(page ?? 1, 10))); }
public ActionResult Index(int?page) { return(View(db.Get(User.Identity.GetUserName()).ToPagedList(page ?? 1, 10))); }