public async Task <IActionResult> GetIncident(int id)
        {
            //throw new Exception("Custom exception for testing");

            //return new JsonResult(await _incidentService.GetIncidentByIdAsync(id));
            Incident resultIncident;

            using (TransactionScope scope = new TransactionScope())
            {
                resultIncident =
                    await _incidentService.GetSingleIncidentByExpressionAsync(IncidentQueries.IncidentById(id));

                scope.Complete();
            }

            return(new JsonResult(resultIncident));
        }