refactor: repository pattern: rename Save() to Create()
This commit is contained in:
parent
ab4226561b
commit
cb9cc47245
8 changed files with 8 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue