1
0
Fork 0

refactor: repository pattern: rename Save() to Create()

This commit is contained in:
Vojtěch Mareš 2024-04-30 21:37:59 +02:00
parent ab4226561b
commit cb9cc47245
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
8 changed files with 8 additions and 8 deletions

View file

@ -5,7 +5,7 @@ type AttendeeRepository interface {
FindAll() ([]Attendee, error)
FindAllForDate(DateID) ([]Attendee, error)
CountForDate(DateID) (int, error)
Save(*Attendee) error
Create(*Attendee) error
Update(*Attendee) error
UpdateAttendance(AttendeeID, bool) error
UpdatePayment(AttendeeID, bool) error