Account view with MVC and paging My Model

public class AccountListFilterModel
{
    public int page { get; set; }
    public int pagesize { get; set; }
    public string sortOrder { get; set; }
    public string packageTypeFilter { get; set; }
    public string usernameFilter { get; set; }
    public string accountStatusFilter { get; set; }
    public string nameSurnameFilter { get; set; }
    public DateTime startDate { get; set; }
    public DateTime endDate { get; set; }
    public string dateFilter { get; set; }
    public int screenCountFilter { get; set; }

}


My Controller

 public ViewResult Index(AccountListFilterModel accountListFilter){}


My View

@{
var currentPageNumber = Request["page"];
var currentPageSize = Request["pagesize"];
var currentSortOrder = Request["sortOrder"];
var currentUsernameFilter = Request["usernameFilter"];
var currentAccountStatusFilter = Request["accountStatusFilter"];
var currentPackageTypeFilter = Request["packageTypeFilter"];
var currentnameSurnameFilter = Request["nameSurnameFilter"];
var currentDateFilter = Request["dateFilter"];
var currentScreenCountFilter = Request["screenCountFilter"];
var currentScreenCountSortFilter = Request["screenCountSortFilter"];}


and

                &lt;th class=""&gt;Account Name
                    &lt;a style="@(currentSortOrder == "UserName desc" ? "" : "display:none;")" href="@Url.Action("Index", "Account", new { pagesize = currentPageSize, sortOrder = "UserName asc", usernameFilter = @currentUsernameFilter, accountStatusFilter = @currentAccountStatusFilter, packageTypeFilter = @currentPackageTypeFilter, dateFilter = @currentDateFilter, screenCountSortFilter = @currentScreenCountSortFilter, screenCountFilter = @currentScreenCountFilter })"&gt;
                        &lt;i class="icon-sort-up"&gt;&lt;/i&gt;&lt;/a&gt;
                    &lt;a style="@(currentSortOrder == "UserName asc" ? "" : "display:none;")" href="@Url.Action("Index", "Account", new { pagesize = currentPageSize, sortOrder = "UserName desc", usernameFilter = @currentUsernameFilter, accountStatusFilter = @currentAccountStatusFilter, packageTypeFilter = @currentPackageTypeFilter, dateFilter = @currentDateFilter, screenCountSortFilter = @currentScreenCountSortFilter, screenCountFilter = @currentScreenCountFilter,approvedFilter=@currentApprovedFilter })"&gt;
                        &lt;i class="icon-sort-down"&gt;&lt;/i&gt;&lt;/a&gt;
                    &lt;a style="@(string.IsNullOrEmpty(currentSortOrder) || !currentSortOrder.StartsWith("UserName") ? "" : "display:none;")" href="@Url.Action("Index", "Account", new { pagesize = currentPageSize, sortOrder = "UserName asc", usernameFilter = @currentUsernameFilter, accountStatusFilter = @currentAccountStatusFilter, packageTypeFilter = @currentPackageTypeFilter,dateFilter = @currentDateFilter, screenCountSortFilter = @currentScreenCountSortFilter, screenCountFilter = @currentScreenCountFilter })"&gt;
                        &lt;i class="icon-sort"&gt;&lt;/i&gt;&lt;/a&gt;
                &lt;/th&gt;


How can I shorten my code at View ?
You should pass your AccountListFilterModel to the view, either via model (which is the best solution as it's less error-prone) or using ViewBag \ ViewData (which is an anti-pattern actually, but fits the quick-fix niche). 
Using the latter approach: 

In your controller: 

public ViewResult Index(AccountListFilterModel accountListFilter)
{
    ViewBag.Filter = accountListFilter;
}


In your view (you can delete the code at the top of the view, that uses Request to get parameters.

&lt;a style="@(ViewBag.Filter.currentSortOrder == "UserName desc" ? "" : "display:none;")" ... /&gt;


It's a general rule of thumb that your view should not contain any logic at all, your controller should supply all the data that the view needs.