示例#1
0
 public void PostItemCategories(ItemCategory itemCategory)
 {
     genericUnitOfWork.Repository<ItemCategory>().Insert(itemCategory);
     genericUnitOfWork.Save();
 }
示例#2
0
 public void UpdateItemCategory(ItemCategory itemCategory)
 {
     genericUnitOfWork.Repository<ItemCategory>().Update(itemCategory);
     genericUnitOfWork.Save();
 }
示例#3
0
文件: Item.cs 项目: kaveh981/SaleTax
 public void UpdateItemCategory(ItemCategory itemCategory)
 {
     _unitOfWork.Repository<ItemCategory>().Update(itemCategory);
     _unitOfWork.Save();
 }