Exemplo n.º 1
0
        public AdminController(UserManager <AppUser> userManager, IUnitOfWork unitOfWork, IphotoService photoService)
        {
            _photoService = photoService;
            _unitOfWork   = unitOfWork;

            _userManager = userManager;
        }
Exemplo n.º 2
0
 public UsersController(IUnitOfWork unitOfWork, IMapper mapper, IphotoService photoService)
 {
     _unitOfWork   = unitOfWork;
     _photoService = photoService;
     _mapper       = mapper;
 }
Exemplo n.º 3
0
 public UsersController(IUserRepository userRepository, IMapper mapper, IphotoService photoService)
 {
     _photoService   = photoService;
     _mapper         = mapper;
     _userRepository = userRepository;
 }