public string GetDateFormat()
        {
            IStockCardListDAL purInvoice = new StockCardListDAL();
            var result = purInvoice.GetDateFormat();

            return(result);
        }
        public string GetLastSelectionData(int ScreenId)
        {
            IStockCardListDAL purInvoice = new StockCardListDAL();
            var result = purInvoice.GetLastSelectionData(ScreenId);

            return(result);
        }
        public List <StockCardListEntity> GetAllStockCard()
        {
            IStockCardListDAL purInvoice = new StockCardListDAL();
            var Invoicelist = purInvoice.GetAllStockCard();

            return(Invoicelist);
        }
        //public List<StockCardListEntity> GetAllStockCardJson(string jsondata)
        //{
        //    IStockCardListDAL purInvoice = new StockCardListDAL();
        //    var Invoicelist = purInvoice.GetAllStockCardJson(jsondata);
        //    return Invoicelist;
        //}
        public bool SaveSearchJson(string jsonSearch, int ScreenId, string ScreenName)
        {
            IStockCardListDAL purInvoice = new StockCardListDAL();
            var result = purInvoice.SaveSearchJson(jsonSearch, ScreenId, ScreenName);

            return(result);
        }
        public List <StockCardListEntity> GetProductsDetails(string jsondata, bool?ExcincTax, string ProductCode)
        {
            IStockCardListDAL bl = new StockCardListDAL();

            return(bl.GetProductsDetails(jsondata, ExcincTax, ProductCode));
        }