예제 #1
0
 public AccountController(
     UserManager <User> userManager,
     SignInManager <User> signInManager,
     IEmailSender emailSender,
     ILogger <AccountController> logger,
     IDbContextGeneric context)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _emailSender   = emailSender;
     _logger        = logger;
     _context       = context.GetContext();
 }
예제 #2
0
 public DbContextGeneric(DbServiceContext context)
 {
     _context = context;
 }
예제 #3
0
 public UserService(IOptions <AppSettings> appSettings, DbServiceContext context)
 {
     _appSettings = appSettings.Value;
     _context     = context;
 }
예제 #4
0
 public InvoicesController(DbServiceContext context)
 {
     _context = context;
 }
예제 #5
0
 public ClientsController(DbServiceContext context)
 {
     _context = context;
 }
예제 #6
0
 public TransactionService(IDbContextGeneric context)
 {
     _context = context.GetContext();
 }
예제 #7
0
 public RoleService(IDbContextGeneric context)
 {
     _context = context.GetContext();
 }