示例#1
0
 public DetailsModel(Lab39Tom.Models.MovieContext context)
 {
     _context = context;
 }
示例#2
0
 public DeleteModel(Lab39Tom.Models.MovieContext context)
 {
     _context = context;
 }
示例#3
0
 public EditModel(Lab39Tom.Models.MovieContext context)
 {
     _context = context;
 }
示例#4
0
 public CreateModel(Lab39Tom.Models.MovieContext context)
 {
     _context = context;
 }
示例#5
0
 //Dependency injection to add MovieContext
 public IndexModel(Lab39Tom.Models.MovieContext context)
 {
     _context = context;
 }