public static AjaxResult DeleteDevice(string ID) { LockManager manager = new LockManager(); manager.DeleteLockDevice(ID); return(AjaxResult.Success()); }