Exemplo n.º 1
0
 public ActionResult Delete(string keys)
 {
     if (string.IsNullOrEmpty(keys))
     {
         return(Json(ResultData.CreateError("主键为空,删除取消")));
     }
     if (keys.Contains(','))
     {
         SysService.DeleteUsers(keys);
     }
     else
     {
         SysService.DeleteUser(keys);
     }
     return(Json(ResultData.Create(true), "text/html"));
 }