// GET: Localizacao
 public ActionResult Index()
 {
     using (LocalizacaoModel model = new LocalizacaoModel())
     {
         List <Localizacao> lista = model.Read();
         return(View(lista));
     }
 }
        public ActionResult Filter(FormCollection form)
        {
            // Extamente o name do input search <input name="status"...
            string status = form["status"];

            using (LocalizacaoModel model = new LocalizacaoModel())
            {
                List <Localizacao> lista = model.Read(status);
                return(View("Index", lista));
            }
        }
 public ActionResult Update(int numero)
 {
     using (LocalizacaoModel model = new LocalizacaoModel()) {
         return(View(model.Read(numero)));
     }
 }