/// <summary> /// Initializes a new instance of the <see cref="AuthenticationController"/> class. /// </summary> /// <param name="userDataMapper"> /// The user Data Mapper. /// </param> /// <param name="encryptionService"> /// The encryption service. /// </param> public AuthenticationController( IUserDataMapper userDataMapper, IEncryptionService encryptionService) { _userDataMapper = userDataMapper; _encryptionService = encryptionService; }
/// <summary> /// Initializes a new instance of the <see cref="UsersController"/> class. /// </summary> /// <param name="userDataMapper"> /// The user repository. /// </param> /// <param name="mapper"> /// The mapper. /// </param> /// <param name="encryptionService"> /// The encryption service. /// </param> public UsersController( IUserDataMapper userDataMapper, IMapper mapper, IEncryptionService encryptionService) { _userDataMapper = userDataMapper; _mapper = mapper; _encryptionService = encryptionService; }
/// <summary> /// Initializes a new instance of the <see cref="CompetitionsController"/> class. /// </summary> /// <param name="competitionDataMapper"> /// The competition Data Mapper. /// </param> /// <param name="userDataMapper"> /// The user Data Mapper. /// </param> /// <param name="mapper"> /// The mapper. /// </param> public CompetitionsController( ICompetitionDataMapper competitionDataMapper, IUserDataMapper userDataMapper, IMapper mapper) { _competitionDataMapper = competitionDataMapper; _userDataMapper = userDataMapper; _mapper = mapper; }
public UserController(IUserDataMapper aController) { theUserDataMapper = aController; }
public UserService(ITokenService tokenService, IUserDataMapper mapper) { _tokenService = tokenService; _mapper = mapper; }
public User(IUserDataMapper userDataMapper) { UserDataMapper = userDataMapper; _boss = new Lazy <User>(() => GetBoss()); }
public UserService(IUserDataMapper userDataMapper) { UserDataMapper = userDataMapper; }