public ActionResult Index2() { ExecuteCommand ex = new ExecuteCommand(); Random rand = new Random(); var usercount = ex.UserCount(); var user = ex.UserBilgi(rand.Next(1, 20)); ViewModel vm = new ViewModel(); vm.sqlFonksyonKisiSayisi = usercount; vm.procedureGetUserInfo = user; return(View(vm)); }