Exemple #1
0
        public RazaViewmodel()
        {
            RepositoryRaza repo  = new RepositoryRaza();
            List <Raza>    lista = repo.GetRazas();

            this.Razas = new ObservableCollection <Raza>(lista);
        }
Exemple #2
0
 public MainPage()
 {
     InitializeComponent();
     repo = new RepositoryRaza();
     repo.CrearBBDD();
 }
 public RazaModel()
 {
     this.repo = new RepositoryRaza();
     this.Raza = new Raza();
 }