public UserService(DataContext context, UserManager userManager, RoleManager roleManager, ISupervisorUserAgentService supervisorUserAgentService, IConfiguration configuration, SignInManager signInManager, IEmailService emailSender, IFileService fileService, IMapper mapper, IValidator <SaveUserDto> fluentValidatorUser, IValidator <LoginDto> fluentValidatorLogin, IValidator <CreateUserDto> fluentValidatorCreateUser, IValidator <ResetPassword> fluentValidationResetPassword, IAspNetUserRolesService rolesService) { _context = context; _userManager = userManager; _roleManager = roleManager; _configuration = configuration; _signInManager = signInManager; _emailSender = emailSender; _fileService = fileService; _mapper = mapper; _fluentValidatorUser = fluentValidatorUser; _fluentValidatorLogin = fluentValidatorLogin; _fluentValidatorCreateUser = fluentValidatorCreateUser; _fluentValidationResetPassword = fluentValidationResetPassword; _rolesService = rolesService; _supervisorUserAgentService = supervisorUserAgentService; }
public SupervisorUserAgentController( ISupervisorUserAgentService service ) { _service = service; }