Erstelle Maske, um Sprechstunden hinzuzufügen

This commit is contained in:
Gonne 2022-08-31 22:49:14 +02:00
parent c7a9522c2c
commit 369f4ebcec
15 changed files with 357 additions and 50 deletions

View file

@ -9,6 +9,7 @@ type Tutor struct {
type TutorRepository interface {
FindByEmail(Email string) ([]Tutor, error)
FindByNameAndEmail(name string, email string) (Tutor, error)
FindById(Id int) (Tutor, error)
GetAll() ([]Tutor, error)
Add(tutor Tutor) error