public static JiraInstanceProduct GetJiraInstanceProduct(LoginUser loginUser, int jiraInstanceProductsId) { JiraInstanceProducts jiraInstanceProducts = new JiraInstanceProducts(loginUser); jiraInstanceProducts.LoadByJiraInstanceProductsId(jiraInstanceProductsId); if (jiraInstanceProducts.IsEmpty) { return(null); } else { return(jiraInstanceProducts[0]); } }
public JiraInstanceProduct(DataRow row, JiraInstanceProducts jiraInstanceProducts) : base(row, jiraInstanceProducts) { _jiraInstanceProducts = jiraInstanceProducts; }