Last change
on this file was e5fefbd, checked in by Anita Terziska <63020646+Nit4e@…>, 2 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
520 bytes
|
Rev | Line | |
---|
[e5fefbd] | 1 | package com.example.medweb.service;
|
---|
| 2 |
|
---|
| 3 | import com.example.medweb.model.Pacient;
|
---|
| 4 | import org.springframework.security.core.userdetails.UserDetails;
|
---|
| 5 |
|
---|
| 6 | import java.util.List;
|
---|
| 7 | import java.util.Optional;
|
---|
| 8 |
|
---|
| 9 | public interface PacientService {
|
---|
| 10 | List<Pacient> listAll();
|
---|
| 11 | Optional<Pacient> findById(Integer id);
|
---|
| 12 | Optional<Pacient> findPacientByEmailAndPass(String email, String password);
|
---|
| 13 | Optional<Pacient> findPacientByEmail(String email);
|
---|
| 14 | void save(Pacient pacient);
|
---|
| 15 | Pacient login (String email, String pass);
|
---|
| 16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.