public async Task <ActionResult> Delete(object id) { _iSysHelpClassService.Delete(id); await _unitOfWork.CommitAsync(); return(new DeleteSuccessResult()); }
public async Task <IActionResult> DeleteAsync(string[] id) { _iSysHelpClassService.Delete(a => id.Contains(a.Id)); var result = await _unitOfWork.CommitAsync(); return(new DeleteSuccessResult(result)); }