Exemple #1
0
        public Restaurante CreacionRestaurante(string nombre, string numero, string horario)
        {
            Restaurante Restaurante = new Restaurante(nombre, numero, horario);

            AgregarRestaurante(Restaurante);
            return(Restaurante);
        }
Exemple #2
0
 public void AgregarRestaurante(Restaurante Restaurante)
 {
     listaRestaurantes.Add(Restaurante);
 }