public JsonResult Delivered(int Id, string TranShipCode)
        {
            try
            {
                Ticket ticket = Repository.GetById(Id);
                ticket.TranStatus = (int)Statuses.Transaction.Delivered;

                ticket.TranShipCode = TranShipCode;

                Repository.AddOrUpdate(ticket);
                Repository.Save();
                return(Json(new
                {
                    Result = "OK",
                    EventId = ticket.TicketId
                }));
            }
            catch (Exception e)
            {
                return(Json(new
                {
                    Result = "ERROR",
                    EventId = Id,
                    Message = e.Message
                }));
            }
        }