Exemplo n.º 1
0
        // GET: PromotionCustomers/Edit/5
        public async Task <IActionResult> Edit(int id)
        {
            var model = await _cust.GetCustomerProductById(id);

            if (model == null)
            {
                return(NotFound());
            }
            return(View(model));
        }