/// \brief This method GetById /// \details <b>Details</b> /// This method will get emelent by ID /// \return object public Customer GetById(string orderID) { var customers = new CustomerBizDAO().GetCustomers(orderID); return(customers[0]); }
/// \brief This method GetCustomers /// \details <b>Details</b> /// This method will get customer info /// \return List<Customer> public Customer GetCustomerDetailsOnly(string customerName) { var customerList = new CustomerBizDAO().GetCustomersDetailsOnly(customerName); return(customerList[0]); }
/// \brief This method GetCustomers /// \details <b>Details</b> /// This method will get customer info /// \return List<Customer> public List <Customer> GetCustomers(string pattern) { var customerList = new CustomerBizDAO().GetCustomers(pattern); return(customerList); }
/// \brief This method GetLastCusID /// \details <b>Details</b> /// This method will get the last customer's ID /// \return string public string GetLastCusID() { var customer = new CustomerBizDAO().GetLastCustomerID(this); return(customer); }
/// \brief This method GetLastCustomerName for user /// \details <b>Details</b> /// This method will get last customer's name database /// \return void public string GetCustomerIDbyName(string customerName) { var id = new CustomerBizDAO().GetCustomerIDbyName(customerName); return(id); }
private void LoadCustomerList() { CustomerBizDAO cusBiz = new CustomerBizDAO(); cusBiz.LoadCustomerList(CustomerList); }