public static CustomerHubCustomView GetCustomerHubCustomView(LoginUser loginUser, int customerHubCustomViewID) { CustomerHubCustomViews customerHubCustomViews = new CustomerHubCustomViews(loginUser); customerHubCustomViews.LoadByCustomerHubCustomViewID(customerHubCustomViewID); if (customerHubCustomViews.IsEmpty) { return(null); } else { return(customerHubCustomViews[0]); } }
public CustomerHubCustomView(DataRow row, CustomerHubCustomViews customerHubCustomViews) : base(row, customerHubCustomViews) { _customerHubCustomViews = customerHubCustomViews; }