1
0
Fork 0
This repository has been archived on 2025-08-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
mareshq-backoffice-v2-api/pkg/training/attendee_repository.go

13 lines
360 B
Go

package training
type AttendeeRepository interface {
Find(AttendeeID) (*Attendee, error)
FindAll() ([]Attendee, error)
FindAllForDate(DateID) ([]Attendee, error)
CountForDate(DateID) (int, error)
Create(*Attendee) error
Update(*Attendee) error
UpdateAttendance(AttendeeID, bool) error
UpdatePayment(AttendeeID, bool) error
Delete(AttendeeID) error
}