@@ -0,0 +1,554 @@
+package bg.car_wash.repositories;%0A%0Aimport bg.car_wash.entities.User;%0Aimport org.springframework.data.repository.CrudRepository;%0Aimport org.springframework.data.repository.query.Param;%0Aimport org.springframework.stereotype.Repository;%0A%0Aimport java.util.List;%0A%0A@Repository%0Apublic interface UserRepository extends CrudRepository%3CUser, Long%3E %7B%0A%0A//%09@Query(%22SELECT u FROM User AS u WHERE u.email = :email AND u.password = :password%22)%0A%09User findUserByEmailAndPassword(@Param(%22email%22) String email, @Param(%22password%22) String password);%0A%0A%09List%3CUser%3E findAll();%0A%7D%0A

create user repository