public int Create(Lesson lesson)
        {
            this.lessons.Add(lesson);

            this.lessons.Save();

            return lesson.Id;
        }
        public void Update(int id, Lesson lesson)
        {
            var entityToUpdate = this.lessons.GetById(id);

            entityToUpdate.Title = lesson.Title;
            entityToUpdate.Description = lesson.Description;
            entityToUpdate.YoutubeVideoId = lesson.YoutubeVideoId;

            this.lessons.Save();
        }