Ejemplo n.º 1
0
 public PostsController(
     UserManager <User> userManager,
     IPhotoSNRepository photoSNRepository,
     IMapper mapper)
 {
     _userManager       = userManager;
     _photoSNRepository = photoSNRepository;
     _mapper            = mapper;
 }
Ejemplo n.º 2
0
 public ImagesController(
     UserManager <User> userManager,
     IPhotoSNRepository photoSNRepository,
     IImageHelper imageHelper)
 {
     _userManager       = userManager;
     _photoSNRepository = photoSNRepository;
     _imageHelper       = imageHelper;
 }
Ejemplo n.º 3
0
 public AvatarsHistoryModel(
     IPhotoSNRepository photoSNRepository,
     UserManager <User> userManager,
     SignInManager <User> signInManager,
     IImageHelper imageHelper,
     IMapper mapper)
 {
     _photoSNRepository = photoSNRepository;
     _userManager       = userManager;
     _signInManager     = signInManager;
     _imageHelper       = imageHelper;
     _mapper            = mapper;
 }
Ejemplo n.º 4
0
        public AvatarModel(
            IPhotoSNRepository photoSNRepository,
            UserManager <User> userManager,
            SignInManager <User> signInManager,
            IImageHelper imageHelper)
        {
            _photoSNRepository = photoSNRepository;
            _userManager       = userManager;
            _signInManager     = signInManager;
            _imageHelper       = imageHelper;

            ManageAvatarViewModel = new ManageAvatarViewModel();
        }