public ActionResult ResolveTicket(ResolveTicketViewModel resolve) { string msg = ""; msg = Tkt.ResolveTicket(resolve.TicketID, resolve.ResolutionComment, resolve.ResolutionAttachment) ? "Ticket is resolved" : "Unable to change status"; TempData["msg"] = ViewBag.msg = msg; //return RedirectToAction("TicketDetails", Tkt.TicketByTktID(resolve.TicketID));// View("TicketDetails", Tkt.TicketByTktID(resolve.TicketID)); //return RedirectToAction("TicketDetails", resolve.TicketID); return(View("TicketDetails", Tkt.TicketByTktID(resolve.TicketID))); }