Ejemplo n.º 1
0
 public async Task <IEnumerable <AddressView> > Handler(CancellationToken cancellationToken)
 {
     return((await buildingService.GetAllAddresses(cancellationToken))
            .Select(address => new AddressView()
     {
         Address = address
     }));
 }