public async Task <IDataResult <List <UserOperationClaim> > > GetAllAsync() { var result = await _userOperationClaimDal.GetAllAsync(); return(new SuccessDataResult <List <UserOperationClaim> >(result, Messages.UserOperationClaim.GetAllSuccess)); }
public async Task <IDataResult <List <UserOperationClaim> > > GetAll() { return(new SuccessDataResult <List <UserOperationClaim> >(await _userOperationClaimDal.GetAllAsync())); }