public HospitalConsultasController(ApplicationDbContext context, IMapper mapper, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, BlockchainTransactionsRepository repository)
 {
     this.mapper        = mapper;
     this.context       = context;
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.repository    = repository ?? throw new ArgumentNullException(nameof(repository));
 }
Exemplo n.º 2
0
 public AccountsController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IConfiguration configuration, ApplicationDbContext context, IMapper mapper, HashService hashService, BlockchainTransactionsRepository repository)
 {
     _userManager     = userManager;
     _signInManager   = signInManager;
     _configuration   = configuration;
     this.context     = context;
     this.mapper      = mapper;
     this.hashService = hashService;
     this.repository  = repository;
 }