Move webapi to sub folder
This commit is contained in:
12
GerbilManagerWebAPI/ApplicationContext.cs
Normal file
12
GerbilManagerWebAPI/ApplicationContext.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using GerbilManager.Models;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
public class ApplicationContext : DbContext
|
||||
{
|
||||
public ApplicationContext(DbContextOptions options)
|
||||
:base(options)
|
||||
{
|
||||
}
|
||||
public DbSet<Gerbil> Gerbils { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user