public void Update(Shot shot)
{
using (var connection = BolfTrackerDbConnection.GetProfiledConnection())
{
connection.Open();
connection.Execute("UPDATE Shot SET Points = @Points, ShotTypeId = @ShotTypeId WHERE Id = @Id", new { Id = shot.Id, Points = shot.Points, ShotTypeId = shot.ShotType.Id });
}
}