Movies included in database as well and handled in site

This commit is contained in:
2019-01-21 20:52:22 +01:00
parent 19fc2475fa
commit f5a597fcdb
33 changed files with 1418 additions and 59 deletions

View File

@ -21,6 +21,7 @@ namespace Vidly.Models
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public DbSet<Customer> Customers { get; set; }
public DbSet<Movie> Movies { get; set; }
public ApplicationDbContext()
// : base("DefaultConnection", throwIfV1Schema: false)