public async Task <IActionResult> ApprenticeshipEmployerLocations() { var query = new ApprenticeshipEmployerLocations.Query(); return(await _mediator.SendAndMapResponse( query, response => View(response))); }
public async Task <IActionResult> ApprenticeshipEmployerLocations() { var query = new ApprenticeshipEmployerLocations.Query() { ProviderId = _providerContext.ProviderInfo.ProviderId }; return(await _mediator.SendAndMapResponse( query, response => View(response))); }