public bool Remov(int index) { if (mid.Delete(index) > 0) { return(true); } return(false); }
/// <summary> /// 表示删除数据是否成功 /// </summary> /// <param name="Id"></param> /// <returns></returns> public bool Remove(int Id) { return(miDal.Delete(Id) > 0); }