예제 #1
0
 public AuthManager(IUserService userService, IUserPhotoService userPhotoService,
                    ITokenHelper tokenHelper, IMapper mapper)
 {
     this.userPhotoService = userPhotoService;
     this.mapper           = mapper;
     this.tokenHelper      = tokenHelper;
     this.userService      = userService;
 }
예제 #2
0
 public PhotosController(
     IUserPhotoService photos,
     IUserAlbumService albums,
     UserManager <User> userManager)
 {
     this.photos      = photos;
     this.albums      = albums;
     this.userManager = userManager;
 }
예제 #3
0
 public UserResolver(IUserManager <ApplicationUser> userManager, IEmailProvider emailSender,
                     IUserService userService, IOptions <AppSettings> appSettings,
                     IUserPhotoService userPhotoService, IOptions <RegisterConfirmationSettings> registerConfirmationSettings, IOptions <PagerOptions> pagerOptions)
     : base()
 {
     _userManager = userManager;
     _userService = userService;
     _appSettings = appSettings.Value;
     _registerConfirmationSettings = registerConfirmationSettings.Value;
     _emailSender      = emailSender;
     _userPhotoService = userPhotoService;
     _pagerOptions     = pagerOptions.Value;
 }
예제 #4
0
 public AccountService(DBAL.IDBRepository repository, IUserPhotoService userPhotoService)
 {
     _repository       = repository;
     _userPhotoService = userPhotoService;
 }
 public UserPhotosController(IUserPhotoService userPhotoService)
 {
     _userPhotoService = userPhotoService;
 }
예제 #6
0
 public PictureController(IUserPhotoService userPhotoService, IPictureService pictureService)
 {
     _userPhotoService = userPhotoService;
     _pictureService   = pictureService;
 }
예제 #7
0
 public UserPhotoResolver(IUserPhotoService userPhotoService)
     : base()
 {
     _userPhotoService = userPhotoService;
 }
예제 #8
0
 public UserPhotoResolver(IUserPhotoService userPhotoService, IUserManager <ApplicationUser> userManager)
     : base()
 {
     _userManager      = userManager;
     _userPhotoService = userPhotoService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UserPhotoRuleEngine"/> class.
 /// </summary>
 /// <param name="userPhotoService">The user photo service.</param>
 public UserPhotoRuleEngine(IUserPhotoService userPhotoService)
 {
     this.userPhotoService = userPhotoService;
 }
 public UserPhotoController(IUserPhotoService userPhotoService, IHubContext <AdminHub> hubContext)
 {
     this.hubContext       = hubContext;
     this.userPhotoService = userPhotoService;
 }