コード例 #1
0
        public async Task <IActionResult> ApprenticeshipEmployerLocations()
        {
            var query = new ApprenticeshipEmployerLocations.Query();

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

            return(await _mediator.SendAndMapResponse(
                       query,
                       response => View(response)));
        }