public IActionResult Panel() { var model = new PanelViewModel() { Posts = _postRepository.getAllPosts(), Animes = _animeRepository.GetAllAnimes(), Mangas = _mangaRepository.GetAllMangas(), }; return(View(model)); }
public IActionResult Index() { return(View(_mangaRepository.GetAllMangas())); }