public ManageController(ITwoFactorAuthService twoFactorAuthService, IManageDataService manageDataService, IManageUserService manageUserService, IProfileImageService profileImageService) { _twoFactorAuthService = twoFactorAuthService; _manageDataService = manageDataService; _manageUserService = manageUserService; _profileImageService = profileImageService; }
public ProfileController(IUserService userService, IViewModelService viewModelService, IProfileImageService profileImageService, IFriendService friendService, IHostingEnvironment hostingEnvironment) { _userService = userService; _viewModelService = viewModelService; _profileImageService = profileImageService; _friendService = friendService; _hostingEnvironment = hostingEnvironment; }
public AddEditProfileViewModel(INavigationService navigationService, IAuthorizationService authorizationService, IProfileService profileService, IPageDialogService pageDialog, IProfileImageService profileImageService) : base(navigationService) { _authorizationService = authorizationService; _profileService = profileService; _pageDialog = pageDialog; _profileImageService = profileImageService; }
public ConsultantProfilesController( IProfileVideoService profileVideoService, IProfileImageService profileImageService, ConsultantManager consultantManager) { this.profileVideoService = profileVideoService; this.profileImageService = profileImageService; this.consultantManager = consultantManager; }
public HomeController(IUserService userService, IChatService chatService, IFriendService friendService, IViewModelService viewModelService, IFriendRequestService friendRequestService, IProfileImageService profileImageService , UserManager <AppUser> userManager) { _userService = userService; _chatService = chatService; _friendService = friendService; _viewModelService = viewModelService; _friendRequestService = friendRequestService; _profileImageService = profileImageService; _userManager = userManager; }
public UserController( ApplicationDbContext applicationDbContext, UserManager <User> userManager, IEmailSender emailSender, IIdentityService identityService, IProfileImageService profileImageService, IMapper mapper) { this.applicationDbContext = applicationDbContext; _userManager = userManager; this.emailSender = emailSender; this.identityService = identityService; this.profileImageService = profileImageService; this.mapper = mapper; }
private const int REGISTRATION_CODE_SIZE = 16; // In bytes public StudentManagmentService( IEmailSenderService emailSender, IStudentService studentService, IRegistrationService registrationService, IConfiguration config, IProfileImageService imgService, IErrorHandler errorHandler, OrhedgeContext context) { (_emailSender, _studentService, _registrationService, _imgService, _context, _errorHandler) = (emailSender, studentService, registrationService, imgService, context, errorHandler); (_baseUrl, _fromEmailAddress) = (new Uri(config["BaseUrl"]), config["RegisterEmail:From"]); _emailLinkEndpoint = config["RegisterEmail:LinkEndpoint"]; _regEmailTemplateId = config["RegisterEmail:TemplateId"]; }
public ManageUserService( UserManager <AppUserEntity> userManager, IUserRepository userRepository, IRoleRepository roleRepository, IBaseRepository <UserRoleEntity> userRoleRepository, IBaseRepository <GroupUserEntity> groupUserRepository, IBaseDAO <AppUserEntity> userDAO, IGroupUserStore groupUserStore, IEmailConfirmationService emailConfirmationService, ISessionService sessionService, IProfileImageService profileImageService, IValidator <EditUserRequest> editUserValidator, IValidator <SetNewPasswordRequest> setNewPasswordValidator, IValidator <EditProfileRequest> editRequestValidator, IValidator <UnlockUserRequest> unlockUserValidator, IValidator <SendEmailVerificationMailRequest> sendEmailVerificationMailValidator, ILogger <ManageUserService> logger) { _userManager = userManager; _userRepository = userRepository; _roleRepository = roleRepository; _userRoleRepository = userRoleRepository; _groupUserRepository = groupUserRepository; _userDAO = userDAO; _groupUserStore = groupUserStore; _emailConfirmationService = emailConfirmationService; _sessionService = sessionService; _profileImageService = profileImageService; _editUserValidator = editUserValidator; _setNewPasswordValidator = setNewPasswordValidator; _editProfileValidator = editRequestValidator; _unlockUserValidator = unlockUserValidator; _sendEmailVerificationMailValidator = sendEmailVerificationMailValidator; _logger = logger; }
private const int _imageCacheMaxAge = 24 * 3600; // in seconds; public PhotoController(IProfileImageService profImgService) { _profImgService = profImgService; }
public ManagersController(ManagerManager managerManager, IProfileImageService profileImageService) { this.managerManager = managerManager; this.profileImageService = profileImageService; }
public ProfileImagesController(ILogger <ProfileImagesController> logger, IProfileImageService profileImageService) { this.logger = logger; this.profileImageService = profileImageService; }