public SiwesAdminRepository(UserManager <User> userManager, IGlobalRepository globalRepository, IAuthenticationRepo authenticationRepository, RoleManager <Role> roleManager, IRoleRepository roleRepository) { _userManager = userManager; _globalRepository = globalRepository; _authenticationRepository = authenticationRepository; _roleManager = roleManager; _roleRepository = roleRepository; }
public IndustrialSupervisorRepo(ApplicationDataContext dataContext, UserManager <User> userManager, IGlobalRepository globalRepository, IAuthenticationRepo authenticationRepository, IMapper mapper, ICloudinaryRepository cloudinaryRepository) { _dataContext = dataContext; _userManager = userManager; _globalRepository = globalRepository; _mapper = mapper; _authenticationRepository = authenticationRepository; _cloudinaryRepository = cloudinaryRepository; }
public StudentRepository(ApplicationDataContext dataContext, UserManager <User> userManager, IHttpContextAccessor httpContextAccessor, IGlobalRepository globalRepository, IAuthenticationRepo authenticationRepository, IMapper mapper, ICloudinaryRepository cloudinaryRepository) { _dataContext = dataContext; _userManager = userManager; _httpContextAccessor = httpContextAccessor; _globalRepository = globalRepository; _mapper = mapper; _authenticationRepository = authenticationRepository; _cloudinaryRepository = cloudinaryRepository; }
public AuthenticationController(IMapper mapper, IConfiguration configuration, IAuthenticationRepo authenticationRepo) { _mapper = mapper; _configuration = configuration; _authenticationRepo = authenticationRepo; }
internal AuthencationBusiness() { _authRepo = RepoFactory.GetAuthenticationRepo(); }
public AuthenticationService(IAuthenticationRepo authRepo, JwtSettings jwtSettings) { _authRepo = authRepo; _jwtSettings = jwtSettings; }