Exemplo n.º 1
0
        public HomeController()
        {
            //_posty = new PostDAL();
            //_tagi = new TagDAL();
            _komentarze = new KomentarzDAL();

            _postTag    = new PostTagDAL();
            _ustawienia = new UstawieniaServices();
            _archiwum   = new ArchiveDAL();

            utworzArchiwum();
        }
Exemplo n.º 2
0
        public HomeController()
        {
            //_posty = new PostDAL();
            //_tagi = new TagDAL();
            _komentarze = new KomentarzDAL();

            _postTag = new PostTagDAL();
            _ustawienia = new UstawieniaServices();
            _archiwum = new ArchiveDAL();

            utworzArchiwum();
        }
Exemplo n.º 3
0
 public AdminController(IPost repo, IWebHostEnvironment appEnvironment, IPostTag post)
 {
     _postRepository = repo;
     _appEnvironment = appEnvironment;
     _postTag        = post;
 }
Exemplo n.º 4
0
 public void Tag(IPostTag tag)
 {
     _tags.Add(tag);
 }
Exemplo n.º 5
0
 public TagViewComponent(IPostTag post)
 {
     _postTag = post;
 }
Exemplo n.º 6
0
 public void Tag(IPostTag tag)
 {
     _tags.Add(tag);
 }