Exemplo n.º 1
0
        public ActionResult Update(int posting_code)
        {
            ViewBag.Subjects = new SubjectApp().listAll();
            Posting posting = new PostingApp().listByCode(posting_code);

            return(View(posting));
        }
Exemplo n.º 2
0
        public ActionResult Informations()
        {
            var informations = new PostingApp().informations();

            ViewBag.views    = informations[0];
            ViewBag.postings = informations[1];
            return(View());
        }
Exemplo n.º 3
0
        // GET: Post
        public ActionResult Index()
        {
            var allPostings = new PostingApp().listAll();

            return(View(allPostings));
        }