Exemplo n.º 1
0
        public List <Cash_and_Bank_Statement> GetExportDataList(int CashBankStatementID, string jsondata, string FileName)
        {
            ICashBankStatementDAL exportdata = new CashBankStatementDAL();

            DataSet   ds = new DataSet();
            DataTable dt = new DataTable();

            cashandbank = exportdata.GetExportDataList(CashBankStatementID, jsondata, FileName);
            dt          = ToDataTable(cashandbank);
            ds.Tables.Add(dt);
            ExportToExcel(ds, FileName);

            return(cashandbank);
        }
Exemplo n.º 2
0
        public string GetLastSelectionData(int ScreenId)
        {
            ICashBankStatementDAL pDAL = new CashBankStatementDAL();

            return(pDAL.GetLastSelectionData(ScreenId));
        }
Exemplo n.º 3
0
        public List <CashBankStatementEntity> GetBankAccountList()
        {
            ICashBankStatementDAL AccountList = new CashBankStatementDAL();

            return(AccountList.GetBankAccountList());
        }
Exemplo n.º 4
0
        /// <summary>
        ///give Account Details List
        /// </summary>
        /// <param name="CashBankStatementID"></param>
        /// <param name="jsondata"></param>
        /// <returns></returns>
        ///

        public List <CashBankStatementEntity> GetAccountDetailList(int CashBankStatementID, string jsondata)
        {
            ICashBankStatementDAL AccountDetailList = new CashBankStatementDAL();

            return(AccountDetailList.GetAccountDetailList(CashBankStatementID, jsondata));
        }
Exemplo n.º 5
0
        public bool SaveSearchJson(string jsonSearch, int ScreenId, string ScreenName)
        {
            ICashBankStatementDAL pBL = new CashBankStatementDAL();

            return(pBL.SaveSearchJson(jsonSearch, ScreenId, ScreenName));
        }