public ActionResult Index(int?ID, List <String> Area, List <String> gtype, List <String> compete, List <String> status, List <String> oblast, List <String> period, List <String> amount, List <String> projloc) { ReportsRepository rr = new ReportsRepository(); IDataReader ResultTable = rr.Filter2(ID, Area, gtype, compete, status, oblast, period, amount, projloc); DataSet ds = new DataSet(); DataTable dt = new DataTable(); ds.Tables.Add(dt); ds.Tables[0].Load(ResultTable); ViewData["DataSet"] = ds; return(Index()); }