/// \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]); }
/// \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); }
/// \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); }
/// \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); }
/// \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); }