Ejemplo n.º 1
0
        private async Task <List <GeneralSetting> > GetGeneralSettings()
        {
            var settings = await _setting.GetDataAsync(new { KeyName = SodexoBiteNotification.SodexoBiteBaseUrl });

            return(_mapper.Map <List <GeneralSetting> >(settings));
        }
Ejemplo n.º 2
0
        private async Task <List <GeneralSetting> > GetAWSBucketGeneralSettings()
        {
            var settings = await _generalRepository.GetDataAsync(new { keyGroup = MessagesConstants.S3Bucket });

            return(_mapper.Map <List <GeneralSetting> >(settings));
        }
Ejemplo n.º 3
0
 private async Task <List <GeneralSetting> > GetAWSBucketGeneralSettings()
 {
     return((await _generalRepository.GetDataAsync(new { keyGroup = MessagesConstants.S3Bucket })).ToList());
 }