Esempio n. 1
0
        public List <RotationSort> GetRotationSorts()
        {
            List <RotationSort> rotationSortList = new List <RotationSort>();
            Setting             setInfo          = _intergratedProvider.GetSetting(SettingType.Rotation);

            if (setInfo != null && !string.IsNullOrEmpty(setInfo.Val))
            {
                rotationSortList = JsonConvert.DeserializeObject <List <RotationSort> >(setInfo.Val);
            }
            return(rotationSortList);
        }
Esempio n. 2
0
 public Setting GetSetting(SettingType setType)
 {
     return(_integratedProvider.GetSetting(setType));
 }