🏗️ structured files for testing
Co-authored-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
parent
5cfc2653bb
commit
d4b53e9912
15 changed files with 4 additions and 5 deletions
11
backend/cinemateket/Context/DbContext.cs
Normal file
11
backend/cinemateket/Context/DbContext.cs
Normal file
|
@ -0,0 +1,11 @@
|
|||
using backend;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
public class MovieDbContext: DbContext
|
||||
{
|
||||
public MovieDbContext(DbContextOptions<MovieDbContext> options) : base(options)
|
||||
{
|
||||
}
|
||||
|
||||
public DbSet<MovieDB> Movies { get; set; }
|
||||
}
|
Reference in a new issue