public RestaurantsController(IRestaurante db)
 {
     this._db = db;
 }
Example #2
0
        // GET: Restaurantes

        public RestaurantesController(IRestaurante restaurante)
        {
            this.restauranteRepostorio = restaurante;
        }
Example #3
0
 public bool Remove(IRestaurante value) => base.Remove((Restaurante)value);
Example #4
0
 public bool Edit(IRestaurante value) => base.Edit((Restaurante)value);
Example #5
0
 public bool Add(IRestaurante value) => base.Add((Restaurante)value);
Example #6
0
 public HomeController(IRestaurante db)
 {
     this._db = db;
 }