Ejemplo n.º 1
0
        public bool BelongsToCategory(string category)
        {
            MeliService       ms         = MeliService.GetService();
            bool              belongs    = false;
            List <Categories> categories = ms.GetCategoryDetails(this.category_id);
            int i = 0;

            while (!belongs && i < categories.Count)
            {
                belongs = categories[i++].id == category;
            }
            return(belongs);
        }
Ejemplo n.º 2
0
 public WhishListHandler()
 {
     ms = MeliService.GetService();
 }