Ejemplo n.º 1
0
        public async Task <ActionResult> RetirerEmploye(int offreId, FormCollection collection)
        {
            try
            {
                await manager.DeletePostulationAsync(offreId, EmployeConnecte.GetInstance().Id);
            }
            catch (Exception)
            {
                // Alerte
            }

            return(RedirectToAction("Details"));
        }