In Optimizely, I have come across 2 different interfaces to get a hold of the EPiServer repository - IContentRepository and IContentSoftLinkRepository
Example of IContentRepository :
var repo = EPiServer.ServiceLocation.ServiceLocator.Current.GetInstance<IContentRepository>();
and IContentSoftLinkRepository:
var linkRepository = ServiceLocator.Current.GetInstance<IContentSoftLinkRepository>();
Could somebody explain to me when to use one in front of the other? Thanks in advance.