Esempio n. 1
0
func (p AccountService) AddAccount(u model.Account) {
	h := logic.NewAccountHandler()
	h.AddAccount(u)
}
Esempio n. 2
0
func (p AccountService) DeactivateAccount(Id string) {
	h := logic.NewAccountHandler()
	h.DeactivateAccount(Id)
}
Esempio n. 3
0
func (p AccountService) GetAccount(Id string) model.Account {
	h := logic.NewAccountHandler()
	return h.GetAccount(Id)
}