Пример #1
0
 public ListAccountFbPostViewModel(IEnumerable <AccountFbPost> posts, int page, int pagesize, int total)
 {
     Posts = AccountFbPostViewModel.GetList(posts);
     Pager = new PagerViewModel(page, pagesize, total);
 }
 public ListCampaignAccountViewModel(List <CampaignAccount> campaignAccounts, int page, int pagesize, int total)
 {
     CampaignAccounts = CampaignAccountViewModel.GetList(campaignAccounts);
     Pager            = new PagerViewModel(page, pagesize, total);
 }