public static CustomerHubView GetCustomerHubView(LoginUser loginUser, int customerHubViewID) { CustomerHubViews customerHubViews = new CustomerHubViews(loginUser); customerHubViews.LoadByCustomerHubViewID(customerHubViewID); if (customerHubViews.IsEmpty) { return(null); } else { return(customerHubViews[0]); } }
public CustomerHubView(DataRow row, CustomerHubViews customerHubViews) : base(row, customerHubViews) { _customerHubViews = customerHubViews; }