public override void Save() { getvalue(); bool isOk = _bll.Add(_model); if (isOk == true) { MessageBox.Show("新建成功!"); tmiAdd.Visible = tmiSave.Visible = false; } }
public override void Save( ) { List <FishEntity.DeliveredManagementEntity> modelList = getValue( ); //bool isOk = _bll.Add(_model); bool isOk = _bll.Add(modelList); if (isOk == true) { MessageBox.Show("新建成功!"); tmiAdd.Visible = tmiSave.Visible = false; } }