Ignore:
Timestamp:
Sep 8, 2009, 12:08:52 AM (15 years ago)
Author:
bayral
Message:

connect pwg_category_setInfo into PwgCategoriesService from proxy class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PiwigoLib/TestPiwigoLib/Form1.cs

    r3835 r3837  
    4949                //List<PwgTag> lstTag = PwgTagsService.GetAdminListOfTag();
    5050
    51                 Int32 Page = 0;
    52                 Int32 PerPage = 0;
    53                 Int32 Count = 0;
     51                //Int32 Page = 0;
     52                //Int32 PerPage = 0;
     53                //Int32 Count = 0;
    5454
    5555                //List<PwgImage> lstImg = PwgTagsService.GetListOfImagesFormTags(new List<Int32>() { 1, 7 },
     
    5757                //    ref Page, ref PerPage, ref Count);
    5858
    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);
    6262
    6363                //Console.WriteLine("lstImg : Page " + Page.ToString() + " PerPage " + PerPage);
    6464
    6565                //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");
    6672
    6773
Note: See TracChangeset for help on using the changeset viewer.