예제 #1
0
  @Override
  public Language findByCode(String code) {
    Assert.hasText(code);

    return languageRepository.findByCode(code);
  }
예제 #2
0
  @Override
  public Language persist(Language language) {
    Assert.notNull(language);

    return languageRepository.save(language);
  }