Initial
This commit is contained in:
14
EstusShots.Server/Services/EstusShotsContext.cs
Normal file
14
EstusShots.Server/Services/EstusShotsContext.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using EstusShots.Shared.Models;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace EstusShots.Server.Services
|
||||
{
|
||||
public class EstusShotsContext : DbContext
|
||||
{
|
||||
public EstusShotsContext(DbContextOptions options) : base(options)
|
||||
{
|
||||
}
|
||||
|
||||
public DbSet<Season> Seasons { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user