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); }
public ListCampaignAccountCaptionViewModel(IEnumerable <CampaignAccountCaption> campaignAccountCaptions, int page, int pagesize, int total) { CampaignAccountCaptions = CampaignAccountCaptionViewModel.GetList(campaignAccountCaptions); 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); }