public async Task <IActionResult> Edit(int id, [Bind("Id,Name")] Current_Work_En current_Work_En)
        {
            if (id != current_Work_En.Id)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                try
                {
                    _context.Update(current_Work_En);
                    await _context.SaveChangesAsync();
                }
                catch (DbUpdateConcurrencyException)
                {
                    if (!Current_Work_EnExists(current_Work_En.Id))
                    {
                        return(NotFound());
                    }
                    else
                    {
                        throw;
                    }
                }
                return(RedirectToAction(nameof(Index)));
            }
            return(View(current_Work_En));
        }
        public async Task <IActionResult> Create([Bind("Id,Name")] Current_Work_En current_Work_En)
        {
            if (ModelState.IsValid)
            {
                _context.Add(current_Work_En);
                await _context.SaveChangesAsync();

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