示例#1
0
        public async Task AlterAsync(params Vehicle[] obj)
        {
            try
            {
                foreach (var item in obj)
                {
                    item.UpdateDate = DateTime.Now;
                }

                await _dao.Update(obj);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }