static List <SysSetting> GetAllSettings() { ISysSettingService sysSettingService = null; IDbContextFactory factory = new DbContextFactory(); sysSettingService = new SysSettingService(new Repo <SysSetting>(factory)); return(sysSettingService.GetAll().ToList()); }
public SysSettingManage(int groupId) { _groupId = groupId; _sysSettingService = new SysSettingService <T>(groupId); }