load module settings automatically so that they are part of the ModuleState and can be easily accessed by developers

This commit is contained in:
Shaun Walker
2020-11-04 15:40:57 -05:00
parent 700b6e2d68
commit 97cec46ec1
4 changed files with 25 additions and 6 deletions

View File

@ -1,10 +1,11 @@
using System.Collections.Generic;
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository
{
public interface ISettingRepository
{
IEnumerable<Setting> GetSettings(string entityName);
IEnumerable<Setting> GetSettings(string entityName, int entityId);
Setting AddSetting(Setting setting);
Setting UpdateSetting(Setting setting);