Exemple #1
0
        public ActionResult DeleteConfirmed(string id)
        {
            NewRepository();
            Endereco endereco = repository.GetEnderecoByID(id);

            repository.DeleteEndereco(endereco.Id);
            return(RedirectToAction("Index"));
        }