public AdminController(UserManager <AppUser> userManager, IUnitOfWork unitOfWork, IphotoService photoService) { _photoService = photoService; _unitOfWork = unitOfWork; _userManager = userManager; }
public UsersController(IUnitOfWork unitOfWork, IMapper mapper, IphotoService photoService) { _unitOfWork = unitOfWork; _photoService = photoService; _mapper = mapper; }
public UsersController(IUserRepository userRepository, IMapper mapper, IphotoService photoService) { _photoService = photoService; _mapper = mapper; _userRepository = userRepository; }