コード例 #1
0
        public async Task <ActionResult> Delete(object id)
        {
            _iSysHelpClassService.Delete(id);
            await _unitOfWork.CommitAsync();

            return(new DeleteSuccessResult());
        }
コード例 #2
0
        public async Task <IActionResult> DeleteAsync(string[] id)
        {
            _iSysHelpClassService.Delete(a => id.Contains(a.Id));
            var result = await _unitOfWork.CommitAsync();

            return(new DeleteSuccessResult(result));
        }