public async Task <IActionResult> Edit(int id, [Bind("ID,Name,Colour,Weight,Priority")] Presents presents)
        {
            if (id != presents.ID)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                try
                {
                    //Csak a szin, es prioritas property lesz lementve
                    _context.Attach(presents);
                    _context.Entry(presents).Property(p => p.Colour).IsModified   = true;
                    _context.Entry(presents).Property(p => p.Priority).IsModified = true;
                    await _context.SaveChangesAsync();
                }
                catch (DbUpdateConcurrencyException)
                {
                    if (!PresentsExists(presents.ID))
                    {
                        return(NotFound());
                    }
                    else
                    {
                        throw;
                    }
                }
                return(RedirectToAction(nameof(Index)));
            }
            return(View(presents));
        }