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