public IActionResult EditView(int accountLedgerId) { var accountLedger = _work.AccountLedger.Get(accountLedgerId); ViewData["AccountGroups"] = POSHelper.GetAccountGroupSelectItems(_work.AccountGroup); return(PartialView("_AccountLedgerEditView", accountLedger)); }
public IActionResult CreateView() { ViewData["AccountGroups"] = POSHelper.GetAccountGroupSelectItems(_work.AccountGroup); ViewData["AccountLedgers"] = POSHelper.GetAccountLedgerSelectItems(_work.AccountLedger); return(PartialView("_AccountSubLedgerCreateView")); }