public static CustomerHubAuthenticationItem GetCustomerHubAuthenticationItem(LoginUser loginUser, int customerHubAuthenticationID) { CustomerHubAuthentication customerHubAuthentication = new CustomerHubAuthentication(loginUser); customerHubAuthentication.LoadByCustomerHubAuthenticationID(customerHubAuthenticationID); if (customerHubAuthentication.IsEmpty) { return(null); } else { return(customerHubAuthentication[0]); } }
public CustomerHubAuthenticationItem(DataRow row, CustomerHubAuthentication customerHubAuthentication) : base(row, customerHubAuthentication) { _customerHubAuthentication = customerHubAuthentication; }