public HomeController() { //_posty = new PostDAL(); //_tagi = new TagDAL(); _komentarze = new KomentarzDAL(); _postTag = new PostTagDAL(); _ustawienia = new UstawieniaServices(); _archiwum = new ArchiveDAL(); utworzArchiwum(); }
public AdminController(IPost repo, IWebHostEnvironment appEnvironment, IPostTag post) { _postRepository = repo; _appEnvironment = appEnvironment; _postTag = post; }
public void Tag(IPostTag tag) { _tags.Add(tag); }
public TagViewComponent(IPostTag post) { _postTag = post; }