Exemple #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);
        }
Exemple #2
0
 public int UpdateAccountMaster(AccountMaster theAccountMaster)
 {
     return(AccountMasterIntegration.UpdateAccountMaster(theAccountMaster));
 }
Exemple #3
0
 public int InsertAccountMaster(AccountMaster theAccountMaster)
 {
     return(AccountMasterIntegration.InsertAccountMaster(theAccountMaster));
 }
Exemple #4
0
 public AccountMaster GetAccountMasterByAccountCode(string accountCode)
 {
     return(AccountMasterIntegration.GetAccountMasterByAccountCode(accountCode));
 }
Exemple #5
0
 public AccountMaster GetAccountMasterByAccountDescription(string accountDescription)
 {
     return(AccountMasterIntegration.GetAccountMasterByAccountDescription(accountDescription));
 }
Exemple #6
0
 public AccountMaster GetAccountMasterByAccountID(int accountID)
 {
     return(AccountMasterIntegration.GetAccountMasterByAccountID(accountID));
 }
Exemple #7
0
 public int DeleteAccountMaster(AccountMaster theAccountMaster)
 {
     return(AccountMasterIntegration.DeleteAccountMaster(theAccountMaster));
 }