コード例 #1
0
ファイル: BoxAppService.cs プロジェクト: ewin66/BugChang.DES
        public async Task <ResultEntity> DeleteByIdAsync(int id, int userId)
        {
            var result = await _boxManager.DeleteAsync(id);

            if (result.Success)
            {
                await _unitOfWork.CommitAsync();
            }
            return(result);
        }