Esempio n. 1
0
 async public Task <CategoryInfo> AddCategoryAsync(CategoryInfo item)
 {
     item.Parent_id = this.Id;
     return(await BLL.Category.InsertAsync(item));
 }
Esempio n. 2
0
 public CategoryInfo AddCategory(CategoryInfo item)
 {
     item.Parent_id = this.Id;
     return(BLL.Category.Insert(item));
 }