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