feat: get user/staff profile
This commit is contained in:
@@ -11,7 +11,9 @@ type StaffRepository struct {
|
||||
|
||||
type StaffIntf interface {
|
||||
GetStaffByEmail(string) (*authdomain.Staff, error)
|
||||
GetStaffByID(string) (*authdomain.Staff, error)
|
||||
Create(*authdomain.Staff) (*authdomain.Staff, error)
|
||||
Update(authdomain.Staff) error
|
||||
}
|
||||
|
||||
func New(db *database.DB) StaffIntf {
|
||||
|
||||
Reference in New Issue
Block a user