@Override public void delete(int id, int userId) { ExceptionUtil.check(repository.delete(id, userId), id); }
@Override public UserMeal update(UserMeal meal, int userId) { return ExceptionUtil.check(repository.save(meal, userId), meal.getId()); }
@Override public UserMeal get(int id, int userId) { return ExceptionUtil.check(repository.get(id, userId), id); }