implemented methods in DinnerRepository