internal void Update(T toModify)
        {
            if (CreatedMarks == null)
            {
                CreatedMarks = new List <T>();
            }

            //throw new NotImplementedException();
            if (toModify.id != null && CreatedMarks.Any(x => x.id == toModify.id))
            {
                //replace the one that is currently in the list with new modification
                for (int i = 0; i < CreatedMarks.Count; i++)
                {
                    if (CreatedMarks[i].id == toModify.id)
                    {
                        CreatedMarks[i] = toModify;
                    }
                }
            }
            else
            {
                //add to list
                CreatedMarks.Add(toModify);
            }
        }
 internal void Add(IList <T> unordered)
 {
     //throw new NotImplementedException();
     if (CreatedMarks == null)
     {
         CreatedMarks = new List <T>();
     }
     CreatedMarks.AddRange(unordered);
 }
 internal void Add(T nBookmark)
 {
     //throw new NotImplementedException();
     //
     //if(CreatedMarks.Any(x=> x.id == nBookmark.id) && nBookmark.id != null))
     //    throw new ApplicationException("Can not add as Bookmark areadl")
     if (CreatedMarks == null)
     {
         CreatedMarks = new List <T>();
     }
     CreatedMarks.Add(nBookmark);
 }