Beispiel #1
0
 public RegisterModel(
     UserManager <User> userManager,
     SignInManager <User> signInManager,
     ILogger <RegisterModel> logger,
     IEmailSender emailSender,
     EhealthDbContext context)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _logger        = logger;
     _emailSender   = emailSender;
     this.context   = context;
 }
 public CategoryServiceTests()
 {
     this.context = EhealthDbContextInMemoryFactory.InitializeInMemoryContext();
 }
Beispiel #3
0
 public EhealthProductSeeder(EhealthDbContext context)
 {
     this.context = context;
 }
Beispiel #4
0
 public PurchaseServiceTests()
 {
     this.context = EhealthDbContextInMemoryFactory.InitializeInMemoryContext();
 }
Beispiel #5
0
 public UserService(IMapper mapper, EhealthDbContext context, UserManager <User> userManager)
 {
     this.mapper      = mapper;
     this.context     = context;
     this.userManager = userManager;
 }
Beispiel #6
0
 public EhealthUserSeeder(UserManager <User> userManager, EhealthDbContext context)
 {
     this.userManager = userManager;
     this.context     = context;
 }
Beispiel #7
0
 public EhealthCategorySeeder(EhealthDbContext context)
 {
     this.context = context;
 }
Beispiel #8
0
 public ProductService(EhealthDbContext context, IMapper mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }
Beispiel #9
0
 public EhealthBlogSeeder(EhealthDbContext context)
 {
     this.context = context;
 }
 public PurchaseService(EhealthDbContext context, ICartService cartService, IMapper mapper)
 {
     this.context     = context;
     this.cartService = cartService;
     this.mapper      = mapper;
 }
 public EhealthUserRoleSeeder(EhealthDbContext context)
 {
     this.context = context;
 }
 public CategoryService(EhealthDbContext context, IMapper mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }
 public MessageService(EhealthDbContext context)
 {
     this.context = context;
 }