public ActionResult Create(Estudante estudante)
        {
            if (ModelState.IsValid)
            {
                using (var client = new EstudanteService.EstudanteServiceClient())
                {
                    client.Create(estudante.MapTo<EstudanteService.Estudante>());
                }

                return RedirectToAction("Index");
            }

            return View(estudante);
        }
        public ActionResult Create(Estudante estudante)
        {
            if (ModelState.IsValid)
            {
                using (var client = new EstudanteService.EstudanteServiceClient())
                {
                    client.Create(estudante.MapTo <EstudanteService.Estudante>());
                }

                return(RedirectToAction("Index"));
            }

            return(View(estudante));
        }