public IndexModel(SENG300Scholarships.Data.ScholarshipsContext context, IWebHostEnvironment env) { _context = context; _env = env; }
public CreateModel(SENG300Scholarships.Data.ScholarshipsContext context) { _context = context; }
public EditModel(SENG300Scholarships.Data.ScholarshipsContext context) { _context = context; }
public DetailsModel(SENG300Scholarships.Data.ScholarshipsContext context) { _context = context; }
public ReviewModel(SENG300Scholarships.Data.ScholarshipsContext context) { _context = context; }
public IndexModel(SENG300Scholarships.Data.ScholarshipsContext context, IWebHostEnvironment env) { _env = env; // reference to web directory _context = context; }