I have a class with constructor like this:
public UserRepository(IBlockRepository blockRepos)
{
}
and again, I have another class with the constructor like this:
public BlockRepository(IUserRepository userRepo)
{
}
this causes the Windsor error:
Castle.MicroKernel.Handlers.HandlerException: Can't create component 'UserRepository' as it has dependencies to be satisfied. UserRepository is waiting for the following dependencies
How do I fix this?