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