public TokenService(IUnitOfWorkAuth uow) { _uow = uow; _users = _uow.Users; _size = 4; //TODO: get of AppSetting _alphabet = "12341234"; //TODO: get of AppSetting }
public UserService(IUnitOfWorkAuth uow , IMapper mapper) { _uow = uow; _users = uow.Users; _controlToken = uow.ControlToken; _mapper = mapper; }
/// <summary> /// Constructor /// </summary> /// <param name="uow"></param> /// <param name="tokenService"></param> /// <param name="mapper"></param> public UsersController(IUnitOfWorkAuth uow , ITokenService tokenService , IMapper mapper) { _uow = uow; _tokenService = tokenService; _mapper = mapper; }
public UserServiceAuth(IUnitOfWorkAuth uow) { Database = uow; }