public string GetDateFormat()
        {
            IPandSSoldDAL pandsSoldDAl = new PandSSoldDAL();
            var           result       = pandsSoldDAl.GetDateFormat();

            return(result);
        }
        public string GetLastSelectionData(int ScreenId)
        {
            IPandSSoldDAL pandsSoldDAl = new PandSSoldDAL();
            var           result       = pandsSoldDAl.GetLastSelectionData(ScreenId);

            return(result);
        }
        public string getTotalCount(int ScreenId)
        {
            IPandSSoldDAL pandsSoldDAl = new PandSSoldDAL();
            var           result       = pandsSoldDAl.getTotalCount(ScreenId);

            return(result);
        }
        public List <PandSSoldEntity> GetAllSalesInvoiceJson(string jsondata, bool?ExcincTax, bool?IsSummary)
        {
            IPandSSoldDAL pandsSoldDAl = new PandSSoldDAL();
            var           Invoicelist  = pandsSoldDAl.GetAllSalesInvoiceJson(jsondata, ExcincTax, IsSummary);

            return(Invoicelist);
        }
        public List <PandSSoldEntity> GetAllSalesInvoice()
        {
            IPandSSoldDAL pandsSoldDAl = new PandSSoldDAL();
            var           Invoicelist  = pandsSoldDAl.GetAllSalesInvoice();

            return(Invoicelist);
        }
        public List <ProductandServiceSoldEntity> GetExportDataList(string jsondata, bool?ExcincTax, bool?IsSummary, string FileName)
        {
            IPandSSoldDAL exportdata = new PandSSoldDAL();

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

            pandSSold = exportdata.GetExportDataList(jsondata, ExcincTax, IsSummary, FileName);
            dt        = ToDataTable(pandSSold);
            ds.Tables.Add(dt);
            ExportToExcel(ds, FileName);

            return(pandSSold);
        }
        public bool SaveSearchJson(string jsonSearch, int ScreenId, string ScreenName)
        {
            IPandSSoldDAL pandsSoldBL = new PandSSoldDAL();

            return(pandsSoldBL.SaveSearchJson(jsonSearch, ScreenId, ScreenName));
        }
        public List <PandSSoldEntity> GetPandSSoldList()
        {
            IPandSSoldDAL pandsSoldDAl = new PandSSoldDAL();

            return(pandsSoldDAl.GetAllSalesInvoice());
        }