Example #1
0
    public static void AddPosition(PhotoPosition position)
    {
        session.Photos.Add(new PhotoData
        {
            PositionName   = position.name,
            PositionObject = position
        });

        OnItemSelectedChange?.Invoke(session.Photos.Count > 0);
    }
Example #2
0
    public static void RemovePosition(PhotoPosition position)
    {
        session.Photos.RemoveAll(m => m.PositionName == position.name);

        OnItemSelectedChange?.Invoke(session.Photos.Count > 0);
    }