public HomeViewModel()
 {
     conn          = new Connection().GetConnection();
     accountVM     = new AccountViewModel();
     subtypeVM     = new AccountSubtypeViewModel();
     journalVM     = new JournalViewModel();
     journalTypeVM = new JournalTypeViewModel();
 }
Exemplo n.º 2
0
        public AccountSubtype GetSubtype(int subtype_id)
        {
            AccountSubtypeViewModel subtypevM = new AccountSubtypeViewModel();

            return(subtypevM.Get(subtype_id));
        }