Exemplo n.º 1
0
        public ReturnInfo GetUserList(SmartDB dbInstance)
        {
            IInfo records = _dal.GetRecords(dbInstance);

            return(new ReturnInfo
            {
                Code = records.Code,
                Message = records.Message,
                BizObject = ((records.Code == ErrorEnum.NoError) ? records.BizObject : new List <Model.City>())
            });
        }