wip
This commit is contained in:
@@ -48,6 +48,10 @@ func (s *Service) CreateAccount(account Account) (*Account, error) {
|
||||
return &account, err
|
||||
}
|
||||
|
||||
func (s *Service) DeleteAccountOfUser(userId, accountId string) error {
|
||||
return s.db.DeleteAccountOfAnUser(userId, accountId)
|
||||
}
|
||||
|
||||
func NewService(database *Database) *Service {
|
||||
return &Service{db: database}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user