Ejemplo n.º 1
0
        public ActionResult Index(int?AmountReqFrom, int?AmountReqTo, int?AwardedAmtFrom, int?AwardedAmtTo,
                                  string AcceptedDateFrom, string AcceptedDateTo, string StartDateFrom, string StartDateTo,
                                  string EndDateFrom, string EndDateTo, string CloseDateFrom, string CloseDateTo,
                                  string Country, string Area, string City, string Region, string Village, string Title,
                                  int?ProposalStatusID, int?ProgramAreaCodeID)
        {
            ReportsRepository rr           = new ReportsRepository();
            List <Project>    Projects_Key = rr.Projects(AmountReqFrom, AmountReqTo, AwardedAmtFrom, AwardedAmtTo,
                                                         AcceptedDateFrom, AcceptedDateTo, StartDateFrom, StartDateTo, EndDateFrom, EndDateTo, CloseDateFrom,
                                                         CloseDateTo, Country, Area, City, Region, Village, Title, ProposalStatusID, ProgramAreaCodeID);

            ViewData["result"] = Projects_Key;
            return(Index());
        }