public void Delete_CourseDeleted_Saved()
        {
            // Arrange
            var course = CoursesRepository.CanDelete();

            // Act
            var result = Service.Delete(course.Id);

            // Assert
            UnitOfWork.Received().SaveChanges();
        }
        public void Delete_CanDelete_Succeed()
        {
            // Arrange
            var course = CoursesRepository.CanDelete();

            // Act
            var result = Service.Delete(course.Id);

            // Assert
            Assert.That(result, Is.Not.Null);
            Assert.That(result.Succeed, Is.True);
        }