public NavigatePageCommand(EntityViewModel model) { if (model == null) throw new ArgumentNullException("model"); Model = model; }
/// <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); }
public ChangePageSizeCommand(EntityViewModel model) { if (model == null) throw new ArgumentNullException("model"); Model = model; }