Changeset 3837 for extensions/PiwigoLib/TestPiwigoLib/Form1.cs
- Timestamp:
- Sep 8, 2009, 12:08:52 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PiwigoLib/TestPiwigoLib/Form1.cs
r3835 r3837 49 49 //List<PwgTag> lstTag = PwgTagsService.GetAdminListOfTag(); 50 50 51 Int32 Page = 0;52 Int32 PerPage = 0;53 Int32 Count = 0;51 //Int32 Page = 0; 52 //Int32 PerPage = 0; 53 //Int32 Count = 0; 54 54 55 55 //List<PwgImage> lstImg = PwgTagsService.GetListOfImagesFormTags(new List<Int32>() { 1, 7 }, … … 57 57 // ref Page, ref PerPage, ref Count); 58 58 59 List<PwgImage> lstImg = PwgCategoriesService.GetListOfImagesFormCategory(1,60 null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,61 ref Page, ref PerPage, ref Count);59 //List<PwgImage> lstImg = PwgCategoriesService.GetListOfImagesFormCategory(1, 60 // null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 61 // ref Page, ref PerPage, ref Count); 62 62 63 63 //Console.WriteLine("lstImg : Page " + Page.ToString() + " PerPage " + PerPage); 64 64 65 65 //List<PwgCategory> lstCat = PwgCategoriesService.GetAdminListOfCategory(); 66 67 Int32 newid = 0; 68 String msg = String.Empty; 69 Boolean rc = PwgCategoriesService.AddCategory("test_cat", 1, ref newid, ref msg); 70 Console.WriteLine(String.Format("newid : {0} message : {1}", newid,msg)); 71 rc = PwgCategoriesService.UpdateCategoryInfo(newid, "test2", "rename cat"); 66 72 67 73
Note: See TracChangeset
for help on using the changeset viewer.