public IActionResult SOXAuditResponse(SOXQuestions questions)
        {
            try
            {
                var token = HttpContext.Request.Cookies["Token"]; //Get the value of Token from Cookie

                if (token == null)
                {
                    ViewBag.Message = "Session Expired !! Please Login ....";
                    return(View("Login"));
                }

                SeverityService service       = new SeverityService(_configuration);
                var             auditResponse = service.GetSOXResponse(token, questions);

                //add auditResponse to DB
                _context.AuditResponses.Add(auditResponse);
                _context.SaveChanges();

                return(View("AuditResponse", auditResponse));
            }
            catch (Exception e)
            {
                return(View("Error"));
            }
        }
 public SeverityController(SeverityService _severityService)
 {
     severityService = _severityService;
 }