public IActionResult EditView(int accountGroupId) { var accountGroup = _work.AccountGroup.Get(accountGroupId); ViewData["AccountTypes"] = POSHelper.GetAccountTypeSelectItems(_work.AccountType); return(PartialView("_AccountGroupEditView", accountGroup)); }
public IActionResult CreateView() { ViewData["AccountTypes"] = POSHelper.GetAccountTypeSelectItems(_work.AccountType); return(PartialView("_AccountGroupCreateView")); }