public async override Task <Web.Api.Identity.Response> UnLock(StringInputParameter id, ServerCallContext context) { await _lockUserUseCase.UnLock(id.Value, _lockUserPresenter); return(_lockUserPresenter.Response); }
public async Task <LockUserResponse> Handle(UnlockUserCommand request, CancellationToken cancellationToken) { bool response = await _useCase.UnLock(request.Id, _presenter); return(_presenter.Response); }