예제 #1
0
        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]);
            }
        }
예제 #2
0
 public JiraInstanceProduct(DataRow row, JiraInstanceProducts jiraInstanceProducts) : base(row, jiraInstanceProducts)
 {
     _jiraInstanceProducts = jiraInstanceProducts;
 }