//
        // GET: /AccountType/

        public ActionResult Index()
        {
            var accountTypeRepository = new AccountTypeRepository()
            {
                UnitOfWork = SessionState.Current.UnitOfWork
            };

            return(View(accountTypeRepository.Items()));
        }
 // GET api/AccountTypeAPI
 public IEnumerable <AccountType> GetAccountTypes()
 {
     return(db.Items());
 }