예제 #1
0
 public UserService(IUserReposatory userReposatory,
                    IAddressReposatory addressReposatory,
                    ICardReposatory cardReposatory,
                    IPhoneReposatory phoneReposatory,
                    ICertificateReposatory certificateReposatory,
                    IDoctorReposatory doctorReposatory,
                    IConfiguration config,
                    PasswordHasherService passwordHasher,
                    IUserTokenReposatory userTokenReposatory,
                    IReportReposatory reportReposatory,
                    ICommentReposatory commentReposatory,
                    DoctorService doctorService,
                    IMapper mapper)
 {
     _doctorService         = doctorService;
     _commentReposatory     = commentReposatory;
     _reportReposatory      = reportReposatory;
     _userTokenReposatory   = userTokenReposatory;
     _userReposatory        = userReposatory;
     _doctorReposatory      = doctorReposatory;
     _addressReposatory     = addressReposatory;
     _cardReposatory        = cardReposatory;
     _phoneReposatory       = phoneReposatory;
     _certificateReposatory = certificateReposatory;
     _config         = config;
     _passwordHasher = passwordHasher;
     _mapper         = mapper;
 }
 public UserService(IUserRepository userRepository,
                    PasswordHasherService passwordHasher,
                    IConfiguration config,
                    IMapper mapper)
 {
     _userRepository = userRepository;
     _passwordHasher = passwordHasher;
     _mapper         = mapper;
     _config         = config;
 }