public async Task <IActionResult> Edit(int id, [Bind("PFL_Id")] PromoForLaunch promoForLaunch)
        {
            if (id != promoForLaunch.PFL_Id)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                try
                {
                    _context.Update(promoForLaunch);
                    await _context.SaveChangesAsync();
                }
                catch (DbUpdateConcurrencyException)
                {
                    if (!PromoForLaunchExists(promoForLaunch.PFL_Id))
                    {
                        return(NotFound());
                    }
                    else
                    {
                        throw;
                    }
                }
                return(RedirectToAction(nameof(Index)));
            }
            return(View(promoForLaunch));
        }
        public async Task <IActionResult> Create([Bind("PFL_Id")] PromoForLaunch promoForLaunch)
        {
            if (ModelState.IsValid)
            {
                _context.Add(promoForLaunch);
                await _context.SaveChangesAsync();

                return(RedirectToAction(nameof(Index)));
            }
            return(View(promoForLaunch));
        }