public ActionResult Contributors(int? id) { SimchaFundManager manager = new SimchaFundManager(Properties.Settings.Default.ConStr); ContributorsViewModel model = new ContributorsViewModel(); model.Contributer = manager.GetContributors(id).Select(c => new ContributorPageProperties { Contributor = c, Balance = manager.GetBalance(c.Id), }); model.TotalBalance = (double)manager.GetTotalBalance(); return View(model); }