public JsonResult TicketStatusUpdate(string Ticketid, string time, string response, string Expectedrosolvedate, string progress) { int a_id = Convert.ToInt32(Session["ApartmentID"]); try { int result = objgetTicket.TicketStatusUpdate(Convert.ToInt32(Ticketid), a_id, time, response, Expectedrosolvedate, progress); return(Json(result, JsonRequestBehavior.AllowGet)); } catch (Exception ex) { log.Error(ex); return(Json("Something went wrong..Try after some Time", JsonRequestBehavior.AllowGet)); } }