// GET: JournalEntry
 public ActionResult NewEntry()
 {
     var gLmger = new GLManager();
     var cOAmger = new AccountManager();
     var viewModel = new NewEntryVM();
     var ChartofAccount = cOAmger.GetAllAccount();
     var AccountNames = ChartofAccount.Attachment.Select(a => a.AccountName).ToList();
     viewModel.AccountNameSelect = new SelectList(AccountNames);
     return View(viewModel);
 }
 public ActionResult NewEntry(NewEntryVM viewModel)
 {
     var mger = new GLManager();
     mger.CreateJournal(viewModel.newEntry);
     return View();
 }