public ActionResult AddToTicket(Ticket ticket, string Developer) { var ticketInfo = db.Tickets.Find(ticket.Id); ticketHelper.AddUserToTicket(Developer, ticketInfo.Id); ticketInfo.AssignedToUserId = db.Users.Find(Developer).Id; db.SaveChanges(); notifyHelper.SendTicketNotification(ticketInfo.Id); return(RedirectToAction("Details", "Tickets", new { ticketInfo.Id })); }