Esempio n. 1
0
 public AuthenticationController(UserManager <User> userManager
                                 , AuthUserCrudHandler authUser
                                 , IEmailSender emailSender
                                 , IConfiguration configuration
                                 , ILoggerFactory logger
                                 , CompanyCrudHandler companyCrudHandler)
 {
     _userManager        = userManager;
     _authUser           = authUser;
     _emailSender        = emailSender;
     _config             = configuration;
     _logger             = logger.CreateLogger("Authorization");
     _companyCrudHandler = companyCrudHandler;
 }
Esempio n. 2
0
 public CompanyController(CompanyCrudHandler companyCrudHandler)
 {
     _companyCrudHandler = companyCrudHandler;
 }