BolfTracker.Web.GamePanelViewModel.HoleIsPushed C# (CSharp) Method

HoleIsPushed() public method

public HoleIsPushed ( int hole ) : bool
hole int
return bool
        public bool HoleIsPushed(int hole)
        {
            return Shots.Any(s => s.Hole.Id == hole && s.ShotType.Id == ShotTypePush);
        }