Пример #1
0
 public CampaignDetailModel()
 {
     campaignDescription  = new CampaignDescription();
     UploadedImages       = new List <Files>();
     Updates              = new List <CampaignUpdates>();
     Comments             = new List <CommentsVM>();
     CampaignDonationList = new List <CampaignDonation>();
     EndorsementsList     = new ENdorsementList();
 }
Пример #2
0
 public CampaignMainViewModel()
 {
     Beneficiary         = new BeneficiaryViewModel();
     campaignDescription = new CampaignDescription();
     campaignupdate      = new CampaignDescription();
     Updates             = new List <CampaignUpdates>();
     Files                = new List <Files>();
     Comments             = new List <CommentsVM>();
     CampaignDonations    = new CampaignDonation();
     CampaignDonationList = new List <CampaignDonation>();
     MoneyTypeList        = new List <SelectListItem>();
     SelectedOptionsList  = new List <SelectListItem>();
     EndorsementsList     = new ENdorsementList();
 }