Ejemplo n.º 1
0
 public IActionResult CloseIncident(int id)
 {
     IncidentProcessor.CloseIncident(
         id,
         HttpContext.GetCurrentEmployeeModel().Id
         );
     MailSender.CreateAndSendIncidentComplete();
     return(RedirectToAction("ViewIncidents", "Incident"));
 }