public void DeleteDirectorByID_DeleteById()
        {
            var director = new Director() {FirstName = "Delete", LastName = "Test"};

            var idOfInsertedMovie = _directorsRepository2.Insert(director);
            _directorsRepository2.Delete(idOfInsertedMovie);
            var retrievedRecord = _directorsRepository2.Get(idOfInsertedMovie);

            Assert.AreEqual(null, retrievedRecord);
        }
        public void InsertDirector_NormalFlow()
        {
            var director = new Director()
            {
                FirstName = "TestFirstName" + Guid.NewGuid().ToString(),
                LastName = "TestLastName" + Guid.NewGuid().ToString()
            };
            director.DirectorId = _directorsRepository2.Insert(director);
            var newRecord = _directorsRepository2.Get(director.DirectorId);

            director.ShouldBeEquivalentTo(newRecord);
        }
 public void Update(Director director)
 {
     _directorsRepository2.Update(director);
 }
 // INSERT: Insert director firstName & lastName
 public void Insert(Director director)
 {
     _directorsRepository2.Insert(director);
 }