コード例 #1
0
        public async Task <List <DeliveryArea> > Handle(GetDeliveryAreasRequest request, CancellationToken cancellationToken)
        {
            _logger.LogInformation("Handling GetDeliveryAreas Request");
            var result = await _registerQueryRepository.GetDeliveryAreas();

            return(result.ToList());
        }
 public void Then_The_Url_Is_Correctly_Built(
     GetDeliveryAreasRequest actual)
 {
     actual.GetAllUrl.Should().Be("api/ao/delivery-areas");
 }