public bool cadastrar(Animes anime) { var cadastrarAnime = new CadastrarAnime(_context); cadastrarAnime.cadastrar(anime); return(true); }
private void navegaCadastro(object sender, RoutedEventArgs e) { var destino = new CadastrarAnime(JanelaPrincipal); this.NavigationService.Navigate(destino); }