|
Last change
on this file since 3347c1b was 3347c1b, checked in by imbrsk <boris696boris@…>, 11 months ago |
|
Implement refresh token functionality with associated services and repositories
|
-
Property mode
set to
100644
|
|
File size:
353 bytes
|
| Line | |
|---|
| 1 | using Microsoft.EntityFrameworkCore;
|
|---|
| 2 | using iknow_api.Models;
|
|---|
| 3 |
|
|---|
| 4 | namespace iknow_api.Data
|
|---|
| 5 | {
|
|---|
| 6 | public class AppDbContext : DbContext
|
|---|
| 7 | {
|
|---|
| 8 | public AppDbContext(DbContextOptions<AppDbContext> options)
|
|---|
| 9 | : base(options) { }
|
|---|
| 10 |
|
|---|
| 11 | public DbSet<User> User { get; set; }
|
|---|
| 12 | public DbSet<RefreshToken> RefreshToken { get; set; }
|
|---|
| 13 | }
|
|---|
| 14 | } |
|---|
Note:
See
TracBrowser
for help on using the repository browser.