public ActionResult Contribute(int id, int? contributorId) { SimchaFundManager manager = new SimchaFundManager(Properties.Settings.Default.ConStr); ContributeViewModel model = new ContributeViewModel(); model.Simcha = manager.GetASimchas(id); model.Contributors = manager.GetContributors(contributorId).Select(c => new ContributionPageProperties { Contributer = c, Balance = manager.GetBalance(c.Id), AmountContributed = manager.GetContributionAmount(id, c.Id), }); return View(model); }