public ActionResult Create(CreateTicketViewModel formData)
        {
            if (!ModelState.IsValid)
            {
                return(View());
            }

            userId = User.Identity.GetUserId();
            Ticket ticket = new Ticket();

            ticket                = Mapper.Map <Ticket>(formData);
            ticket.DateCreated    = DateTime.Now;
            ticket.TicketStatusId = bugTrackerHelper.GetStatusOpen();
            ticket.OwnerUserId    = userId;

            DbContext.Tickets.Add(ticket);
            DbContext.SaveChanges();

            return(RedirectToAction(nameof(TicketController.AllTickets)));
        }