Created
May 5, 2019 15:39
-
-
Save nishanc/64b4486c3dd161aa58c7c9988940d45d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using JWTAuth.API.Models; | |
using Microsoft.EntityFrameworkCore; | |
namespace JWTAuth.API.Data | |
{ | |
public class DataContext : DbContext | |
{ | |
public DataContext(DbContextOptions<DataContext> options) : base(options) {} | |
public DbSet<Value> Values { get; set; } | |
public DbSet<User> Users { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment