public HomeController(IMetaDataRepository metadataRepostory, IArtRepository artRepository) { _metadataRepostory = metadataRepostory; _siteMetaData = _metadataRepostory.Read(); _artRepository = artRepository; _artCollection = _artRepository.Read(); }
public IndexController(IMetaDataRepository metadataRepository) { _metadataRepository = metadataRepository; _siteMetadata = _metadataRepository.Read(); }