コード例 #1
0
 public OrderController(BakeryHouseContext context, UserManager <CustomUser> userManager,
                        SignInManager <CustomUser> signInManager)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _context       = context;
 }
コード例 #2
0
 public IndexModel(
     UserManager <CustomUser> userManager,
     SignInManager <CustomUser> signInManager,
     BakeryHouseContext context)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _context       = context;
 }
コード例 #3
0
 public DownloadPersonalDataModel(
     UserManager <CustomUser> userManager,
     ILogger <DownloadPersonalDataModel> logger,
     BakeryHouseContext context)
 {
     _userManager = userManager;
     _logger      = logger;
     _context     = context;
 }
コード例 #4
0
 public DeletePersonalDataModel(
     UserManager <CustomUser> userManager,
     SignInManager <CustomUser> signInManager,
     ILogger <DeletePersonalDataModel> logger,
     BakeryHouseContext context)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _logger        = logger;
     _context       = context;
 }
コード例 #5
0
 public ChangePasswordModel(
     UserManager <CustomUser> userManager,
     SignInManager <CustomUser> signInManager,
     ILogger <ChangePasswordModel> logger,
     BakeryHouseContext context)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _logger        = logger;
     _context       = context;
 }
コード例 #6
0
 public EmailModel(
     UserManager <CustomUser> userManager,
     SignInManager <CustomUser> signInManager,
     IEmailSender emailSender,
     BakeryHouseContext context)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _emailSender   = emailSender;
     _context       = context;
 }
コード例 #7
0
 public RegisterModel(
     UserManager <CustomUser> userManager,
     SignInManager <CustomUser> signInManager,
     ILogger <RegisterModel> logger,
     IEmailSender emailSender,
     BakeryHouseContext context)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _logger        = logger;
     _emailSender   = emailSender;
     _context       = context;
 }
コード例 #8
0
 public AfhaalpuntController(BakeryHouseContext context) : base(context)
 {
     _context = context;
 }
コード例 #9
0
 public OrderRepository(BakeryHouseContext context)
 {
     _context = context;
 }
コード例 #10
0
 public CartController(BakeryHouseContext context)
 {
     this.context = context;
 }
コード例 #11
0
 public UserProductController(BakeryHouseContext context)
 {
     this._context = context;
 }
コード例 #12
0
 public ProductController(BakeryHouseContext context)
 {
     _context = context;
 }
コード例 #13
0
 public AdminController(BakeryHouseContext context)
 {
     _context = context;
 }
コード例 #14
0
 public IngredientController(BakeryHouseContext context)
 {
     _context = context;
 }
コード例 #15
0
 //https://stackoverflow.com/questions/48994929/trying-to-use-a-viewmodel-on-a-partial-view
 public PartialController(BakeryHouseContext context)
 {
     _context = context;
 }
コード例 #16
0
 public GenericRepository(BakeryHouseContext context)
 {
     _context = context;
 }
コード例 #17
0
 public HomeController(ILogger <HomeController> logger, BakeryHouseContext context)
 {
     _context = context;
     _logger  = logger;
 }
コード例 #18
0
ファイル: UnitOfWork.cs プロジェクト: KoenVanLooy/Bakeryhouse
 public UnitOfWork(BakeryHouseContext context)
 {
     _context = context;
 }