Esempio n. 1
0
        public async Task <ActionResult> Create([Bind(Include = "Id,NombreCompleto,Telefono,Correo,DNI")] Clientes clientes)
        {
            if (ModelState.IsValid)
            {
                repositorio.Insert(clientes);
                await repositorio.Save();

                return(RedirectToAction("Index"));
            }

            return(View(clientes));
        }