public ActionResult Index(int?PID, int?ProposalStatusID, string OrganizationName, int?AwardedAmtFrom, int?AwardedAmtTo, string AcceptedDateFrom, string AcceptedDateTo, int?GrantTypeCodeID, int?ProgramAreaCodeID) { ReportsRepository rr = new ReportsRepository(); List <Project> Projects_Key = rr.Reports(PID, ProposalStatusID, OrganizationName, AwardedAmtFrom, AwardedAmtTo, AcceptedDateFrom, AcceptedDateTo, GrantTypeCodeID, ProgramAreaCodeID); ViewData["result"] = Projects_Key; return(Index()); }