Esempio n. 1
0
 public NavigatePageCommand(EntityViewModel model)
 {
     if (model == null)
         throw new ArgumentNullException("model");
     Model = model;
 }
Esempio n. 2
0
 /// <summary>
 /// Get a html string of pagination size button.
 /// </summary>
 /// <param name="helper">A htmlhelper.</param>
 /// <param name="model">Entity view model.</param>
 public static void PaginationButton(this HtmlHelper helper, EntityViewModel model)
 {
     if (model == null)
         throw new ArgumentNullException("model");
     helper.RenderPartial("_PaginationButton", model);
 }
Esempio n. 3
0
 public ChangePageSizeCommand(EntityViewModel model)
 {
     if (model == null)
         throw new ArgumentNullException("model");
     Model = model;
 }