public void CategoryAdd(Category category)
 {
     _categorydal.Insert(category);
 }
Esempio n. 2
0
 public IResult Insert(Category category)
 {
     //Business codes
     _categoryDal.Insert(category);
     return(new SuccessResult(message: Messages.CategoryInserted));
 }
 public void CategoryAddBL(Category category)
 {
     _categoryDAL.Insert(category);
 }
Esempio n. 4
0
 public void AddCategory(Category category)
 {
     _categoryDal.Insert(category);
 }
Esempio n. 5
0
 public void Add(Category parameter)
 {
     _categorydal.Insert(parameter);
 }
Esempio n. 6
0
 /// <summary>
 /// 添加一个商品分类
 /// </summary>
 /// <param name="category"></param>
 /// <returns></returns>
 public bool Add(Category category)
 {
     return(_categoryDAL.Insert(category));
 }