public async Task <IEnumerable <Setting> > GetSettings() { var settings = await _settingRepository.GellAllSettings(); if (settings.Count().Equals(0)) { return(null); } return(settings); }