public LoginService(IConfiguration config, ILoginRepository loginRepository, ITemplateRepository templateRepository)
 {
     _config             = config;
     _loginRepository    = loginRepository;
     _templateRepository = templateRepository;
     _emailExtention     = new EmailExtention(config);
 }
Beispiel #2
0
 public UserService(IConfiguration config, IUserRepository userRepository, IHostingEnvironment environment,
                    ILoginService loginService, IPrincipal _principal)
 {
     _config         = config;
     _environment    = environment;
     _emailExtention = new EmailExtention(config);
     _userRepository = userRepository;
     _loginService   = loginService;
     _specificClaim  = new SpecificClaim(_principal);
 }