Beispiel #1
0
        public async Task <IActionResult> Edit(int?id)
        {
            Coupon coupon = await iCouponRepository.EditCouponGet(id);

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