Can someone please tell me how to convert this to razor view syntax?
<%= ViewData.Model.Firms.Count > 0 ? Html.Pager(ViewData.Model.Firms.PageSize, ViewData.Model.Firms.PageNumber, ViewData.Model.Firms.TotalItemCount) : string.Empty%>
thanks for help in advance.
and if you want one liners:
but personally I find the first far more readable.