File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 13
13
2015-01-28 00:30:01,557 [8] INFO EPAM.MyBlog.UI.Web.Controllers.AdminController [(null)] - �������� ����� cd2dde95-56e3-418d-9595-83f0792604bc
14
14
2015-01-28 00:45:22,417 [10] INFO EPAM.MyBlog.DAL.DB.DAL [(null)] - DB: ������ ����: 05a6ece9-4bf6-4b87-8073-0b4303c3abd3
15
15
2015-01-28 00:45:22,432 [10] INFO EPAM.MyBlog.UI.Web.Controllers.AdminController [(null)] - �������� ����� 05a6ece9-4bf6-4b87-8073-0b4303c3abd3
16
+ 2015-01-28 02:19:06,245 [224] INFO EPAM.MyBlog.UI.Web.Controllers.FilesController [(null)] - �������� ������� �� ���� ��� ������������: Admin2
Original file line number Diff line number Diff line change 13
13
2015-01-28 00:30:01,557 [8] INFO EPAM.MyBlog.UI.Web.Controllers.AdminController [(null)] - �������� ����� cd2dde95-56e3-418d-9595-83f0792604bc
14
14
2015-01-28 00:45:22,417 [10] INFO EPAM.MyBlog.DAL.DB.DAL [(null)] - DB: ������ ����: 05a6ece9-4bf6-4b87-8073-0b4303c3abd3
15
15
2015-01-28 00:45:22,432 [10] INFO EPAM.MyBlog.UI.Web.Controllers.AdminController [(null)] - �������� ����� 05a6ece9-4bf6-4b87-8073-0b4303c3abd3
16
+ 2015-01-28 02:19:06,245 [224] INFO EPAM.MyBlog.UI.Web.Controllers.FilesController [(null)] - �������� ������� �� ���� ��� ������������: Admin2
Original file line number Diff line number Diff line change 1
- @model IEnumerable <EPAM .MyBlog .UI .Web .Models .PresentPostModel >
1
+ @model List <EPAM .MyBlog .UI .Web .Models .PresentPostModel >
2
2
@{
3
- WebGrid grid = new WebGrid (Model );
3
+ WebGrid grid = new WebGrid (ModelcanPage :true , rowsPerPage :15 );
4
+ grid .Pager (WebGridPagerModes .NextPrevious );
4
5
}
5
6
6
7
<div class =" row" >
7
8
<div class =" col-md-12 col-sm-12 col-lg-12 col-sx-12 title" >Результаты поиска</div >
8
9
</div >
9
10
10
- @if (Model != null )
11
+ @if (Model . Count != 0 )
11
12
{
12
13
@grid.GetHtml(columns : new [] {
13
14
grid .Column (" Title" ,
26
27
else
27
28
{
28
29
<p >Поиск не дал результатов</p >
29
- }
30
+ }
31
+
32
+ @Html.ActionLink( "Вернуться к поиску", "Index", "Search")
You can’t perform that action at this time.
0 commit comments