public void Update(GoodsItemEntity entity) { this.mGoodsItemRepository.Update(entity); this.mUnitOfWork.Commit(); }
public void Add(GoodsItemEntity entity) { this.mGoodsItemRepository.Add(entity); this.mUnitOfWork.Commit(); }