示例#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();
 }