public static Category CreateCategory(global::System.Int32 categoryId, global::System.Boolean isActive) { Category category = new Category(); category.CategoryId = categoryId; category.IsActive = isActive; return category; }