Added unit tests

This commit is contained in:
thermalthrottle
2021-03-20 11:04:58 +02:00
parent bb4f2b4f16
commit bec08c5851
7 changed files with 118 additions and 19 deletions

View File

@@ -16,11 +16,11 @@ namespace Models
}
public DbSet<User> User { get; set; }
public DbSet<Role> Role { get; set; }
public DbSet<Product> Product { get; set; }
public DbSet<Deal> Deal { get; set; }
public DbSet<Stock> Stock { get; set; }
public virtual DbSet<User> User { get; set; }
public virtual DbSet<Role> Role { get; set; }
public virtual DbSet<Product> Product { get; set; }
public virtual DbSet<Deal> Deal { get; set; }
public virtual DbSet<Stock> Stock { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{