public ActionResult Edit(AccountingTransactionTemplateGroup atg)
        {
            if (ModelState.IsValid)
            {
                unitOfWork.AccountingTransactionTemplateGroupRepository.Update(atg);
                unitOfWork.Save();
                return RedirectToAction("Index");
            }

            return View(atg);
        }
 public ActionResult Create()
 {
     AccountingTransactionTemplateGroup atg = new AccountingTransactionTemplateGroup();
     atg.Active = true;
     return View(atg);
 }