public DetailsModel(Lab39Tom.Models.MovieContext context) { _context = context; }
public DeleteModel(Lab39Tom.Models.MovieContext context) { _context = context; }
public EditModel(Lab39Tom.Models.MovieContext context) { _context = context; }
public CreateModel(Lab39Tom.Models.MovieContext context) { _context = context; }
//Dependency injection to add MovieContext public IndexModel(Lab39Tom.Models.MovieContext context) { _context = context; }