introduce ITransientService interface for auto registration of transient services (for DBContexts and Repositories)
This commit is contained in:
@ -11,7 +11,7 @@ using Oqtane.Repository.Databases.Interfaces;
|
||||
namespace Oqtane.Modules.HtmlText.Repository
|
||||
{
|
||||
[PrivateApi("Mark HtmlText classes as private, since it's not very useful in the public docs")]
|
||||
public class HtmlTextContext : DBContextBase, IService, IMultiDatabase
|
||||
public class HtmlTextContext : DBContextBase, ITransientService, IMultiDatabase
|
||||
{
|
||||
public HtmlTextContext(ITenantManager tenantManager, IHttpContextAccessor httpContextAccessor) : base(tenantManager, httpContextAccessor) { }
|
||||
|
||||
|
Reference in New Issue
Block a user