示例#1
0
 public StockAdjustment CreateObject(StockAdjustment stockAdjustment, IWarehouseService _warehouseService)
 {
     stockAdjustment.Errors = new Dictionary <String, String>();
     return(stockAdjustment = _validator.ValidCreateObject(stockAdjustment, _warehouseService) ? _repository.CreateObject(stockAdjustment) : stockAdjustment);
 }