示例#1
0
 public SmartphoneSeeder(SmartphoneContext ctx, IWebHostEnvironment hosting, UserManager <StoreUser> userManager)
 {
     _ctx         = ctx;
     _hosting     = hosting;
     _userManager = userManager;
 }
示例#2
0
 public SmartphoneRepository(SmartphoneContext ctx, ILogger <SmartphoneRepository> logger)
 {
     _ctx    = ctx;
     _logger = logger;
 }