// GET: ZetaCode public ActionResult Index() { ViewBag.BlueCounter = 0; ViewBag.RedCounter = 0; ViewBag.OthersCounter = 0; ViewBag.ZetaaCounter = 0; ViewBag.BlueHref = Url.Action("Index", "ZetaCode"); ViewBag.BlueDesc = "Test"; ViewBag.RedHref = Url.Action("Index", "ZetaCode"); ViewBag.RedDesc = "Test"; ViewBag.OthersHref = Url.Action("Index", "ZetaCode"); ViewBag.OthersDesc = "Test"; ViewBag.ZetaaHref = Url.Action("Index", "ZetaCode"); ViewBag.ZetaaDesc = "Test"; DataTable[] table = { AdoHelper.FillDataTable(string.Format("SELECT {0} FROM {1}", GetMappingColumnsJoin(NormalIplikColumns), "ZetaCodeNormalIplik")), AdoHelper.FillDataTable(string.Format("SELECT {0} FROM {1}", GetMappingColumnsJoin(FanteziIplikColumns), "ZetaCodeFanteziIplik")), AdoHelper.FillDataTable(string.Format("SELECT {0} FROM {1}", GetMappingColumnsJoin(KumasFanteziColumns), "ZetaCodeKumasFantazi")), AdoHelper.FillDataTable(string.Format("SELECT {0} FROM {1}", GetMappingColumnsJoin(KumasOrmeDokumaColumns), "ZetaCodeKumasOrmeDokuma")), AdoHelper.FillDataTable(string.Format("SELECT {0} FROM {1}", GetMappingColumnsJoin(HazirGiyimColumns), "ZetaCodeHazirGiyim")), AdoHelper.FillDataTable(string.Format("SELECT {0} FROM {1}", GetMappingColumnsJoin(AksesuarColumns), "ZetaCodeAksesuar")) }; return(View(model: table)); }