Beispiel #1
0
        public override void Release(string serviceKey)
        {
            string deleteQuery = "DELETE FROM LokiLockings WHERE ServiceKey=@ServiceKey";

            Task.Run(async() => await MSSQLHelper.ExecuteNonQueryAsync(_connectionString, CommandType.Text, deleteQuery, new SqlParameter("ServiceKey", serviceKey)));
        }