コード例 #1
0
        public async Task <IDataResult <List <UserOperationClaim> > > GetAllAsync()
        {
            var result = await _userOperationClaimDal.GetAllAsync();

            return(new SuccessDataResult <List <UserOperationClaim> >(result, Messages.UserOperationClaim.GetAllSuccess));
        }
コード例 #2
0
 public async Task <IDataResult <List <UserOperationClaim> > > GetAll()
 {
     return(new SuccessDataResult <List <UserOperationClaim> >(await _userOperationClaimDal.GetAllAsync()));
 }