Exemplo n.º 1
0
        //Summary: Delete a customer
        public bool Delete(string userName)
        {
            var result = _adminUserDAL.Delete(userName);

            return(result);
        }
Exemplo n.º 2
0
 /// <summary>
 /// 根据主键ID删除数据
 /// </summary>
 /// <param name="id">主键ID的值</param>
 /// <returns></returns>
 public bool Delete(int id)
 {
     return(dal.Delete(id));
 }