// GET: Active public ActionResult Index() { ActiveViewMode activeviewmode = new ActiveViewMode(); activeviewmode.GetTypeActive1 = am.GetTypeActive(1); activeviewmode.GetTypeActive2 = am.GetTypeActive(2); activeviewmode.GetTypeActive3 = am.GetTypeActive(3); return(View(activeviewmode)); }