using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Forms4.Filters;
using Forms4.Models.Entities;

namespace Forms4.Controllers
{
    public class DefaultController : Controller
    {
        //
        // GET: /Default/

        public ActionResult Index()
        {
            return View(new Post());
        }

        [HttpPost]
        [TagsFilter]
        //[ValidateInput(false)]
        public ActionResult Index(Post post)
        {
            return View(post);
        }

    }
}
