public IActionResult DeleteIncident(int id)
        {
            var steps             = IncidentStepProcessor.LoadStepsByIncidentId(id);
            var incidentEmployees = IncidentEmployeeProcessor.LoadEmployeesByIncidentId(id);

            foreach (var employee in incidentEmployees)
            {
                IncidentEmployeeProcessor.RemoveEmployeeFromIncident(id, employee.Employee_Id);
            }
            foreach (var step in steps)
            {
                IncidentStepProcessor.DeleteStep(step.id);
            }
            IncidentProcessor.DeleteIncident(id);
            return(RedirectToAction("ViewIncidents"));
        }
        public IActionResult RemoveEmployeeFromIncident(int id)
        {
            var stepData = IncidentStepProcessor.LoadStepsByIncidentId(id);

            foreach (var step in stepData)
            {
                var stepEmployeeData = IncidentStepEmployeeprocessor.LoadEmployeesFromStepId(step.id);
                foreach (var employee in stepEmployeeData)
                {
                    if (employee.id == HttpContext.GetCurrentEmployeeModel().Id)
                    {
                        IncidentStepEmployeeprocessor.RemoveEmployeeFromStep(step.id, HttpContext.GetCurrentEmployeeModel().Id);
                    }
                }
            }
            IncidentEmployeeProcessor.RemoveEmployeeFromIncident(id, HttpContext.GetCurrentEmployeeModel().Id);
            return(RedirectToAction("DetailsIncident", new { id = id }));
        }