/// <summary>
 /// thực hiện 1 số xử lý ban đầu để chỉnh lại những thông tin trong
 /// PagingOptions cho đúng, ví dụ như tính lại TotalPage, CurentPage
 /// , hay là đọc CurentPage từ QueryString
 /// </summary>
 /// <param name="option"></param>
 private static void InitPagingOptions(HtmlHelper html, PagingOptions option)
 {
     if (option.IsNotSetCurrentPage())
     {
         var    request = html.ViewContext.HttpContext.Request;
         string str     = request.QueryString[option.PageSegmentName];
         option.CurrentPage = 1;
         int currentPage;
         if (int.TryParse(str, out currentPage))
         {
             option.CurrentPage = currentPage;
         }
     }
     option.RecaculatePagingInfo();
 }
 /// <summary>
 /// thực hiện 1 số xử lý ban đầu để chỉnh lại những thông tin trong
 /// PagingOptions cho đúng, ví dụ như tính lại TotalPage, CurentPage
 /// , hay là đọc CurentPage từ QueryString
 /// </summary>
 /// <param name="option"></param>
 private static void InitPagingOptions(HtmlHelper html, PagingOptions option)
 {
     if (option.IsNotSetCurrentPage())
     {
         var request = html.ViewContext.HttpContext.Request;
         string str = request.QueryString[option.PageSegmentName];
         option.CurrentPage = 1;
         int currentPage;
         if (int.TryParse(str, out currentPage))
             option.CurrentPage = currentPage;
     }
     option.RecaculatePagingInfo();
 }