Esempio n. 1
0
        public HomeController(IMetaDataRepository metadataRepostory, IArtRepository artRepository)
        {
            _metadataRepostory = metadataRepostory;
            _siteMetaData      = _metadataRepostory.Read();

            _artRepository = artRepository;
            _artCollection = _artRepository.Read();
        }
Esempio n. 2
0
 public IndexController(IMetaDataRepository metadataRepository)
 {
     _metadataRepository = metadataRepository;
     _siteMetadata       = _metadataRepository.Read();
 }