Init
This commit is contained in:
commit
b01c097562
22 changed files with 1439 additions and 0 deletions
15
InkForge.Api/Data/ApiDbContext.cs
Normal file
15
InkForge.Api/Data/ApiDbContext.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
using Duende.IdentityServer.EntityFramework.Options;
|
||||
|
||||
using Microsoft.AspNetCore.ApiAuthorization.IdentityServer;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.Options;
|
||||
|
||||
namespace InkForge.Api.Data;
|
||||
|
||||
public class ApiDbcontext(
|
||||
DbContextOptions options,
|
||||
IOptions<OperationalStoreOptions> operationalStoreOptions
|
||||
) : ApiAuthorizationDbContext<IdentityUser>(options, operationalStoreOptions)
|
||||
{
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue