// GET: Contestant public ActionResult Index() { IList <Contestant_VM> VMList = _Service.GetAllContestants().Select(x => new Contestant_VM().Domain_To_VM(x)).ToList(); return(View(VMList)); }
private void LoadContestantDensity() { var list = _ContestantService.GetAllContestants().Where(x => x.IsActive == true).ToList(); ViewBag.ContestantList = list; }