public ActionResult EventList()
        {
            List <EventM> events = new List <EventM>();

            //ngo.Add(new NGOAcc(111, "asda", "adas", "dasdsa", "dasdasd", "dasdasd", "dasdsa", "dqawewq", "dqawedwq", "1/1/2001", "dqwewq"));

            EventDAO eventDAO = new EventDAO();

            events = eventDAO.FetchAll();
            TempData.Keep();
            return(View("EventList", events));
        }
        public ActionResult ProcessEvent(EventM eventM)
        {
            //save to the db.
            EventDAO eventDAO = new EventDAO();
            int      x        = (int)TempData["ID"];

            eventDAO.Create(eventM, x);
            //UserAcc users = new UserAcc();


            List <EventM> listevent = new List <EventM>();

            listevent = eventDAO.FetchAll();

            TempData.Keep();

            return(View("Index", listevent));
        }