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