public void DeleteErrorLog(int logId) { try { using (connectionsLinqDataContext db = new connectionsLinqDataContext()) { db.DeleteErrorLogById(logId); } } catch (Exception e) { } }