public int ConvertToSalesInvoice(SalesQuotationForm quotationData)
        {
            ISalesQuotationDAL PQDAL = new SalesQuotationDAL();

            return(PQDAL.ConvertToSalesInvoice(quotationData));
        }
        public string GetCategoryContent(string catType)
        {
            ISalesQuotationDAL PQDAL = new SalesQuotationDAL();

            return(PQDAL.GetCategoryContent(catType));
        }
        public int ConvertToSalesOrder(SalesQuotationForm pqForm)
        {
            ISalesQuotationDAL PQDAL = new SalesQuotationDAL();

            return(PQDAL.ConvertToSalesOrder(pqForm));
        }
        public List <ContentModel> GetAllSalesman(string catType)
        {
            ISalesQuotationDAL PQDAL = new SalesQuotationDAL();

            return(PQDAL.GetAllSalesman(catType));
        }
        public int UpdationQuotation(SalesQuotationForm quotationData)
        {
            ISalesQuotationDAL PQDAL = new SalesQuotationDAL();

            return(PQDAL.UpdationQuotation(quotationData));
        }
        public SalesQuotationForm GetSalesQuotation(string pqNo)
        {
            ISalesQuotationDAL PQDAL = new SalesQuotationDAL();

            return(PQDAL.GetSalesQuotation(pqNo));
        }
        public int GetLatestQuotationNo()
        {
            ISalesQuotationDAL PQDAL = new SalesQuotationDAL();

            return(PQDAL.GetLastQuotationNo());
        }
        public List <SalesQuotationEntity> GetAllSalesQuotations()
        {
            ISalesQuotationDAL PQDAL = new SalesQuotationDAL();

            return(PQDAL.GetAllSalesQuotations());
        }
        public bool DeleteQuotation(int purchaseQuotID)
        {
            ISalesQuotationDAL PQDAL = new SalesQuotationDAL();

            return(PQDAL.DeleteQuotatoin(purchaseQuotID));
        }
        public bool CanDeleteQuotation(int pqID)
        {
            ISalesQuotationDAL PQDAL = new SalesQuotationDAL();

            return(PQDAL.CanDeleteQuotation(pqID));
        }