Esempio n. 1
0
        public List <AccountMaster> GetAccountMasterList()
        {
            // VICKY : ACCOUNTS MASTER: CACHE THIS AS DONE IF AccountGroupManagement-GetAccountGroupList()
            string Context = "GetAccountMasterList";
            List <AccountMaster> AccountMasterList = new List <AccountMaster>();

            if (HttpRuntime.Cache[Context] == null)
            {
                AccountMasterList          = AccountMasterIntegration.GetAccountMasterList();
                HttpRuntime.Cache[Context] = AccountMasterList;
            }
            else
            {
                AccountMasterList = ((List <AccountMaster>)(HttpRuntime.Cache[Context]));
            }

            return(AccountMasterList);
        }
Esempio n. 2
0
 public int UpdateAccountMaster(AccountMaster theAccountMaster)
 {
     return(AccountMasterIntegration.UpdateAccountMaster(theAccountMaster));
 }
Esempio n. 3
0
 public int InsertAccountMaster(AccountMaster theAccountMaster)
 {
     return(AccountMasterIntegration.InsertAccountMaster(theAccountMaster));
 }
Esempio n. 4
0
 public AccountMaster GetAccountMasterByAccountCode(string accountCode)
 {
     return(AccountMasterIntegration.GetAccountMasterByAccountCode(accountCode));
 }
Esempio n. 5
0
 public AccountMaster GetAccountMasterByAccountDescription(string accountDescription)
 {
     return(AccountMasterIntegration.GetAccountMasterByAccountDescription(accountDescription));
 }
Esempio n. 6
0
 public AccountMaster GetAccountMasterByAccountID(int accountID)
 {
     return(AccountMasterIntegration.GetAccountMasterByAccountID(accountID));
 }
Esempio n. 7
0
 public int DeleteAccountMaster(AccountMaster theAccountMaster)
 {
     return(AccountMasterIntegration.DeleteAccountMaster(theAccountMaster));
 }