Table of Contents

Class SettingEntityService<TContext>

Namespace
Innova.Data.AppSettings.Services
Assembly
Innova.Data.dll

Service class for managing setting entities.

public class SettingEntityService<TContext> : ISettingEntityService where TContext : DbContext

Type Parameters

TContext

The type of the database context.

Inheritance
SettingEntityService<TContext>
Implements

Constructors

SettingEntityService(IDbContextFactory<TContext>, ICurrentUser)

Initializes a new instance of the SettingEntityService<TContext> class.

Properties

UserId

Gets the current user ID.

Methods

GetApplicationSettings(CancellationToken)

Gets the application settings.

GetUserSettings(CancellationToken)

Gets the user settings.

SaveApplicationSettings(List<ApplicationSettings>, CancellationToken)

Saves the application settings.

SaveUserSettings(List<UserSettings>, CancellationToken)

Saves the user settings.