示例#1
0
        public async Task DeleteByGuidAsync(Guid guid)
        {
            using (var unitOfWork = _unitOfWorkFactory.StartUnitOfWork())
            {
                await _accountService.DeleteByGuidAsync(guid);

                unitOfWork.Save();
            }
        }