Exemplo n.º 1
0
        public IActionResult RestaurantTypeEdit(int id)
        {
            RestaurantType typeFromDb      = _service.Get(id);
            RestaurantTypeEditViewModel vm = new RestaurantTypeEditViewModel()
            {
                Naam = typeFromDb.Naam
            };

            return(View(vm));
        }