예제 #1
0
 public HomeController(IAuthenticationLogic auth, ISkillLogic skill,
                       IMapLogic <Skill, SkillViewModel> mapperSkill)
 {
     _mapperSkill = mapperSkill;
     _auth        = auth;
     _skill       = skill;
 }
      public LoginTests(TestFixture testFixture, ITestOutputHelper output)
      {
          _testFixture = testFixture;
          _output      = output;
          _testFixture.ConfigureServices(_testFixture.ServiceCollection);

          // Get required services
          Services            = _testFixture.ServiceCollection.BuildServiceProvider();
          HeaderLogic         = Services.GetService <IHeaderLogic>();
          AuthenticationLogic = Services.GetService <IAuthenticationLogic>();
      }
예제 #3
0
 public UserAuthentication(IAuthenticationLogic authentication, IUserLogic userService)
 {
     _authentication = authentication;
     _userService = userService;
 }
예제 #4
0
 public AuthenticationController(IAuthenticationLogic authenticationLogic)
 {
     _authenticationLogic = authenticationLogic;
 }
 public AccountController(IAuthenticationLogic authentication, IMapLogic <Employee, EmployeeDdd> employeeDtoMap,
                          IAdminLogic admLogic)
 {
     _authentication = authentication;
     _admLogic       = admLogic;
 }
 public AuthenticationController(IAuthenticationLogic authenticationLogic, JwtTokenHelper jwtTokenHelper)
 {
     _authenticationLogic = authenticationLogic;
     _jwtTokenHelper      = jwtTokenHelper;
 }
예제 #7
0
 public AuthenticationController(IAuthenticationLogic authenticationLogic)
     : base()
 {
     this.AuthenticationLogic = authenticationLogic;
 }