示例#1
0
        public ExcutionResult GetById(string id)
        {
            ExcutionResult result = new ExcutionResult();

            try
            {
                var param = TripManager.GetById(id);
                result.Data = param;
            }
            catch (Exception e)
            {
                result.ErrorCode = 1;
                result.Message   = e.Message;
            }
            return(result);
        }