public MessagesController(PortalCoreContext context, IPortalServices portalServices, IUnisolApiProxy unisolApiProxy) { _context = context; _portalServices = portalServices; _unisolApiProxy = unisolApiProxy; _tokenValidator = new TokenValidator(_context); }
public CommonUtilitiesController(IUnisolApiProxy unisolApiProxy, PortalCoreContext context, IPortalServices portalServices) { _unisolApiProxy = unisolApiProxy; _context = context; _portalServices = portalServices; classStatus = _context.Settings.FirstOrDefault()?.ClassStatus; _tokenValidator = new TokenValidator(_context); }
public NewsController(PortalCoreContext context, IPortalServices portalServices, IConfiguration configuration, IEmailConfiguration emailConfiguration, IHostingEnvironment env, IEmailService emailService) { _context = context; _portalServices = portalServices; _tokenValidator = new TokenValidator(_context); emailSender = new EmailSender(configuration, context, emailConfiguration, env, emailService); }
public EventsController(PortalCoreContext context, IPortalServices portalServices, IConfiguration configuration, IEmailConfiguration emailConfiguration, IHostingEnvironment env, IEmailService emailService, IUnisolApiProxy unisolApiProxy) { _context = context; _portalServices = portalServices; _tokenValidator = new TokenValidator(_context); _unisolApiProxy = unisolApiProxy; emailSender = new EmailSender(configuration, context, emailConfiguration, env, emailService); }
public CurrentEvaluationsController(PortalCoreContext context, IUnisolApiProxy unisolApiProxy, IEmailService emailService, IEmailConfiguration emailConfiguration, IPortalServices portalServices) { _validateService = new InputValidator(); _unisolApiProxy = unisolApiProxy; _context = context; _emailService = emailService; _emailConfiguration = emailConfiguration; _portalServices = portalServices; _tokenValidator = new TokenValidator(_context); }
public LoginApiController(PortalCoreContext context, IUnisolApiProxy unisolApiProxy, IPortalServices portalServices, IUserManagementService userManagementService, HostingEnvironment hostingEnvironment) { _context = context; _unisolApiProxy = unisolApiProxy; _userManagementService = userManagementService; _hostingEnvironment = hostingEnvironment; _portalServices = portalServices; _validateService = new InputValidator(); userCredentials = new UserCredentials(context); classStatus = _context.Settings.FirstOrDefault()?.ClassStatus; }
public PortalEvaluationsController(PortalCoreContext context, IUnisolApiProxy unisolApiProxy, IEmailService emailService, IEmailConfiguration emailConfiguration, IPortalServices portalServices) { _validateService = new InputValidator(); _unisolApiProxy = unisolApiProxy; _context = context; _emailService = emailService; _portalServices = portalServices; _emailConfiguration = emailConfiguration; classStatus = _context.Settings.FirstOrDefault()?.ClassStatus; _tokenValidator = new TokenValidator(_context); }
public UserManagentUnitTest() { portalDbTestContext = new PortalDbTestContext().GetContext(); unisolApiProxy = new UnisolApiProxy("http://localhost:8088/api/"); portalServices = new PortalServices(portalDbTestContext, unisolApiProxy); configuration = new Mock <IConfiguration>().Object; env = new Mock <IHostingEnvironment>().Object; emailConfiguration = new EmailConfiguration(); emailService = new EmailService(emailConfiguration); userManagementService = new UserManagementService(portalDbTestContext, portalServices, unisolApiProxy, configuration, emailConfiguration, env, emailService); }
public UserManagementService(PortalCoreContext context, IPortalServices portalServices, IUnisolApiProxy unisolApiProxy, IConfiguration configuration, IEmailConfiguration emailConfiguration, IHostingEnvironment env, IEmailService emailService) { _context = context; _portalServices = portalServices; _unisolApiProxy = unisolApiProxy; _env = env; _validateService = new InputValidator(); userCredentials = new UserCredentials(context); classStatus = _context.Settings.FirstOrDefault()?.ClassStatus ?? "Active"; emailSender = new EmailSender(configuration, context, emailConfiguration, env, emailService); }
public UsersController(PortalCoreContext context, IUserManagementService userManagementService, IUnisolApiProxy unisolApiProxy, IEmailService emailService, IEmailConfiguration emailConfiguration, IConfiguration configuration, IHostingEnvironment env, IPortalServices portalServices, OldMembershipContext oldMembershipContext) { _validateService = new InputValidator(); _unisolApiProxy = unisolApiProxy; _context = context; _oldMembershipContext = oldMembershipContext; _emailService = emailService; _emailConfiguration = emailConfiguration; _userManagementService = userManagementService; _configuration = configuration; _env = env; _portalServices = portalServices; _userCredentials = new UserCredentials(context); _tokenValidator = new TokenValidator(context); emailSender = new EmailSender(configuration, context, emailConfiguration, env, emailService); }
public DashboardController(IPortalServices portalServices, PortalCoreContext context) { _context = context; _portalServices = portalServices; _tokenValidator = new TokenValidator(_context); }
public PrivilegesController(PortalCoreContext context, IPortalServices portalServices) { _context = context; _portalServices = portalServices; _tokenValidator = new TokenValidator(_context); }