private findLocation ( UnLocode unlocode ) : Location | ||
unlocode | UnLocode | |
리턴 | Location |
private Location findLocation(UnLocode unlocode)
{
var location = locationRepository.find(unlocode);
if(location == null)
{
throw new UnknownLocationException(unlocode);
}
return location;
}
}