Exemplo n.º 1
0
        /// \brief This method GetById
        /// \details <b>Details</b>
        /// This method will get ID
        /// \return  void
        public ContractMarketPlace GetById(string customerID)
        {
            var cmps = new CMPBizDAO().GetCMPs(customerID);

            return(cmps[0]);
        }
Exemplo n.º 2
0
        /// \brief This method GetCMPs
        /// \details <b>Details</b>
        /// This method will store CMP
        /// \return  void
        public List <ContractMarketPlace> GetCMPs(string pattern)
        {
            var cmpsList = new CMPBizDAO().GetCMPs(pattern);

            return(cmpsList);
        }
Exemplo n.º 3
0
        /// \brief This method GetLastCusID
        /// \details <b>Details</b>
        /// This method will get the last customerID
        /// \return string
        public string GetLastCusID()
        {
            var customer = new CMPBizDAO().GetLastCustomerId(this);

            return(customer);
        }
Exemplo n.º 4
0
        /// \brief This method GetContractIDbyCustomerName
        /// \details <b>Details</b>
        /// This method will get the contractID by customerName
        /// \return string
        public string GetContractIDbyCustomerName(string customerName)
        {
            var customer = new CMPBizDAO().GetContractIDbyCustomerName(customerName);

            return(customer);
        }
Exemplo n.º 5
0
        /// \brief This method LoadCMPList for user
        /// \details <b>Details</b>
        /// This method will Load the CMP Data from DB and display into DataGrid
        /// \return  void
        private void LoadCMPList()
        {
            CMPBizDAO CMPBiz = new CMPBizDAO();

            CMPBiz.LoadCMPList(CMPList);
        }