@Override
 public StatusCode get(Long id) {
   return statusCodeRepository.findById(id);
 }
 @Override
 public List<StatusCode> getAll() {
   return statusCodeRepository.findAll();
 }
 public void save(StatusCode entity) {
   statusCodeRepository.save(entity);
 }
 @Override
 public void edit(StatusCode entity) {
   statusCodeRepository.update(entity);
 }
 @Override
 public void delete(Long id) {
   statusCodeRepository.remove(statusCodeRepository.findById(id));
 }
 @Override
 public void create(StatusCode entity) {
   statusCodeRepository.add(entity);
 }