Cannot use NuGet PagedList ASP.NET MVC # View

asp.net-mvc-3, razor

Solution

BuildStarted referral or existing on at the same time use,

in controller

using PagedList;
using PagedList.Mvc;

and use in view

@model PagedList.IPagedList<PhoneBook.Models.Contact>
@using PagedList;
@using PagedList.Mvc;

and use paging

@Html.PagedListPager(Model, page => Url.Action("Index", new { page =
page }))

Problem

I can't use the following namespace `PagedList` to use razor `@model PagedList.IPagedList<PhoneBook.Models.Contact>`in the topmost of view `Index.cshtml` I already installed PagedList and i used already the code below in my Controller ``` using PagedList; ``` there's no error in the controller page but why ican't use the namespace in Index.cshtml (View)? Please help..

Original source

Related problems