Example #1
0
 /// <summary>
 /// 删除
 /// </summary>
 /// <param name="model">实体</param>
 public void Delete(Users model)
 {
     dal.Delete <Users>(model);
 }
Example #2
0
 /// <summary>
 /// 删除一条数据
 /// </summary>
 public void Delete(int id)
 {
     dal.Delete(id);
 }
Example #3
0
 public IResult Delete(Users user)
 {
     _Iusersdal.Delete(user);
     return(new SuccessResult());
 }
Example #4
0
 public bool Delete(int G_id)
 {
     return(_userDal.Delete(G_id));
 }
Example #5
0
 /// <summary>
 /// 根据主键ID删除数据
 /// </summary>
 /// <param name="id">主键ID的值</param>
 /// <returns></returns>
 public bool Delete(int id)
 {
     return(dal.Delete(id));
 }