Пример #1
0
 //Constructor sets up the database context
 public MummySearchLogic(PWOIKMContext mummyContext)
 {
     _mummyContext = mummyContext;
 }
Пример #2
0
 //Constructor for the Home Controller
 public HomeController(ILogger <HomeController> logger, RoleManager <IdentityRole> roleManager, PWOIKMContext mummyContext)
 {
     _logger       = logger;
     _roleManager  = roleManager;
     _mummyContext = mummyContext;
 }