Ejemplo n.º 1
0
        public async Task <ActionResult> Create(FormCollection collection)
        {
            try
            {
                Employe employe = EditerEmploye(collection);
                await manager.SauvegarderEmployeAsync(employe);

                return(RedirectToAction("Index"));
            }
            catch
            {
                return(View("Errors/Erreur405"));
            }
        }