コード例 #1
0
 public PageViewModel(IEnumerable<RealEstate> realEstates, PaginationModel pagination, object routeValues)
 {
     RealEstates = realEstates;
     Pagination = pagination;
     RouteValues = routeValues != null ? new RouteValueDictionary(routeValues) : new RouteValueDictionary();
 }
コード例 #2
0
 public PageViewModel(IEnumerable<RealEstate> realEstates, PaginationModel pagination)
     : this(realEstates, pagination, null)
 {
 }