public void GetSettings_RetrieveAllSettings()
        {
            // Arrange
            var fakeMemoryCache = new FakeMemoryCache();
            var sut             = new SettingRepository(_mockDbContext, fakeMemoryCache);

            // Act
            var settings = sut.GetAllSettings();

            // Assert
            Assert.Equal(4, settings.Count);
            Assert.True(settings.Contains(_setting1));
            Assert.True(settings.Contains(_setting2));
            Assert.True(settings.Contains(_setting3));
            Assert.True(settings.Contains(_setting4));
        }
 public List <Settings> GetAllSettings()
 {
     return(repository.GetAllSettings());
 }