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