public int Insert(SqlTransaction trans, AllocationStockModel stockModel) { int num = 0; if ((stockModel.ACode != "") && (stockModel.SCode != "")) { num = AllocationAction.Insert(trans, stockModel); } return(num); }
public int Insert(SqlTransaction trans, AllocationModel model) { int num = 0; if (model.Acode != "") { num = AllocationAction.Insert(trans, model); } return(num); }