public async Task <IActionResult> Edit(int id, [Bind("ApproverID,ApproverName,Password")] SignsApprovers signsApprovers)
        {
            if (id != signsApprovers.ApproverID)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                try
                {
                    _context.Update(signsApprovers);
                    await _context.SaveChangesAsync();
                }
                catch (DbUpdateConcurrencyException)
                {
                    if (!SignsApproversExists(signsApprovers.ApproverID))
                    {
                        return(NotFound());
                    }
                    else
                    {
                        throw;
                    }
                }
                return(RedirectToAction(nameof(Index)));
            }
            return(View(signsApprovers));
        }
        public async Task <IActionResult> Edit(int id, [Bind("ID,AdminName,Password")] DashBoard dashBoard)
        {
            if (id != dashBoard.ID)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                try
                {
                    _context.Update(dashBoard);
                    await _context.SaveChangesAsync();
                }
                catch (DbUpdateConcurrencyException)
                {
                    if (!DashBoardExists(dashBoard.ID))
                    {
                        return(NotFound());
                    }
                    else
                    {
                        throw;
                    }
                }
                return(RedirectToAction(nameof(Index)));
            }
            return(View(dashBoard));
        }
        public async Task<IActionResult> Edit(int id, [Bind("SignId,LayoutId,PDFDefinition,ImageThumbnail")] SignsLayouts signsLayouts)
        {
            if (id != signsLayouts.SignId)
            {
                return NotFound();
            }

            if (ModelState.IsValid)
            {
                try
                {
                    _context.Update(signsLayouts);
                    await _context.SaveChangesAsync();
                }
                catch (DbUpdateConcurrencyException)
                {
                    if (!SignsLayoutsExists(signsLayouts.SignId))
                    {
                        return NotFound();
                    }
                    else
                    {
                        throw;
                    }
                }
                return RedirectToAction(nameof(Index));
            }
            return View(signsLayouts);
        }
        public async Task <IActionResult> AddOrEdit([Bind("SignId,Swedish,English,Russian,Arabic")] Signs signs)
        {
            if (ModelState.IsValid)
            {
                if (signs.SignId == 0)
                {
                    _context.Add(signs);
                }
                else
                {
                    _context.Update(signs);
                }
                await _context.SaveChangesAsync();

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