Example #1
0
 public ListGroupCampaignAccountContentViewModel(IEnumerable <CampaignAccountContent> campaignAccountContents, int page, int pagesize, int total)
 {
     CampaignGroupAccountContents = GroupCampaignAccountContentViewModel.GetList(campaignAccountContents);
     Pager = new PagerViewModel(page, pagesize, total);
 }
 public ListAccountFbPostViewModel(IEnumerable <AccountFbPost> posts, int page, int pagesize, int total)
 {
     Posts = AccountFbPostViewModel.GetList(posts);
     Pager = new PagerViewModel(page, pagesize, total);
 }
Example #3
0
 public ListCampaignAccountCaptionViewModel(IEnumerable <CampaignAccountCaption> campaignAccountCaptions, int page, int pagesize, int total)
 {
     CampaignAccountCaptions = CampaignAccountCaptionViewModel.GetList(campaignAccountCaptions);
     Pager = new PagerViewModel(page, pagesize, total);
 }
Example #4
0
 public ListCampaignAccountViewModel(List <CampaignAccount> campaignAccounts, int page, int pagesize, int total)
 {
     CampaignAccounts = CampaignAccountViewModel.GetList(campaignAccounts);
     Pager            = new PagerViewModel(page, pagesize, total);
 }