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); }
public Setting GetSetting(SettingType setType) { return(_integratedProvider.GetSetting(setType)); }