BolfTracker.Infrastructure.EntityFramework.ShotRepository.DeleteToShot C# (CSharp) Метод

DeleteToShot() публичный Метод

public DeleteToShot ( int gameId, int shotId ) : void
gameId int
shotId int
Результат void
        public void DeleteToShot(int gameId, int shotId)
        {
            using (var connection = BolfTrackerDbConnection.GetProfiledConnection())
            {
                connection.Open();

                connection.Execute("DELETE FROM Shot WHERE Id >= @Id and GameId = @GameId", new { Id = shotId, GameId = gameId });
            }
        }