Beispiel #1
0
 public LocationsController(ILocationService locationService, IPostCodeService postCodeService)
 {
     this.locationService = locationService;
     this.postCodeService = postCodeService;
 }
Beispiel #2
0
 public AddressController(IPostCodeService service)
 {
     this.service = service ?? throw new System.ArgumentNullException(nameof(service));
 }