Exemplo n.º 1
0
        public ActionResult DeleteNGO(int id)
        {
            NGODAO ngoDAO = new NGODAO();

            ngoDAO.Delete(id);

            List <NGOAcc> ngo = ngoDAO.FetchAll();

            return(View("NGO", ngo));
        }
Exemplo n.º 2
0
        public ActionResult NGO()
        {
            List <NGOAcc> ngo = new List <NGOAcc>();

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

            NGODAO ngoDAO = new NGODAO();

            ngo = ngoDAO.FetchAll();

            return(View("NGO", ngo));
        }