public ConnectionUseCase(IConnectionInProgress connectionInProgress, string user1Id, string user2Id, IUserLookup lookup, IConnectorDestination destination) { _connectionInProgress = connectionInProgress; _user1Id = user1Id; _user2Id = user2Id; _lookup = lookup; _destination = destination; }
public UserUseCaseFactory(IConnectorDestination connectorDestination, IUserLookup userLookup) { _connectorDestination = connectorDestination; _userLookup = userLookup; }
public void WriteTo(IConnectorDestination destination) { }
public void WriteTo(IConnectorDestination destination) { destination.Save(_userDto); }