SettingsRepo¶
Namespace: Database.Repository.SettingsRepo
Repository implementation for accessing and managing topic settings in the database.
Inheritance Object → SettingsRepo
Implements ISettingsRepo
Constructors¶
SettingsRepo(ApplicationDbContext)¶
Initializes a new instance of the SettingsRepo class with the specified settings context.
Parameters¶
applicationDbContext ApplicationDbContext
The database context for settings.
Methods¶
AddTopicSettingAsync(TopicSetting)¶
Parameters¶
topicSetting TopicSetting
Returns¶
GetTopicSettingsAsync()¶
Returns¶
GetTopicSettingsAsync(Int32, SensorType)¶
Parameters¶
placeId Int32
sensorType SensorType
Returns¶
RemoveTopicSettingAsync(TopicSetting)¶
Parameters¶
topicSetting TopicSetting
Returns¶
UpdateTopicSettingAsync(TopicSetting)¶
Parameters¶
topicSetting TopicSetting