public async Task <ApiResult> DeleteOrgNodeUsers(OrgUserView nodeView) { ApiResult ret = new ApiResult(); try { using (TransactionScope scope = new TransactionScope()) { await _orgRepo.DeleteOrgNodeUsers(nodeView); ret.code = Code.Success; scope.Complete(); } } catch (Exception ex) { ret.code = Code.Failure; ret.msg = ex.Message; } return(ret); }