public void KillToken(Token token) { ExceptionLogServices exceptionLog = new ExceptionLogServices(); using (var db = new DBAMPContext()) { try { int rtn = db.ApiTokenDelete(token.UserId, token.AuthToken); } catch (Exception ex) { string sqlParam = "ApiTokenDelete(" + token.UserId + "," + token.AuthToken + ")"; string methodName = "JCRAPI/Business/TokenService/KillToken"; exceptionLog.ExceptionLogInsert(ex.Message.ToString(), "", methodName, token.UserId, null, sqlParam, string.Empty); } } }