// Delete Account func DelAccount(acc entities.Account) { a := db.Account{acc.Name, acc.Email, acc.Phone, acc.Password, acc.Type, acc.Date} a.DeleteAccount() }