public async Task <Unit> Handle(RefreshLegalEntitiesCommand request, CancellationToken cancellationToken) { var response = await _accountsService.GetLegalEntitiesByPage(request.PageNumber, request.PageSize); await _employerIncentivesService.RefreshLegalEntities(response.Data, response.Page, request.PageSize, response.TotalPages); return(Unit.Value); }