public async Task <IActionResult> Edit(int id, [Bind("TakerId,FirstName,LastName,Gender,Age,ApplicationUserId")] PollTaker pollTaker)
        {
            if (id != pollTaker.TakerId)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                try
                {
                    _context.Update(pollTaker);
                    await _context.SaveChangesAsync();
                }
                catch (DbUpdateConcurrencyException)
                {
                    if (!PollTakerExists(pollTaker.TakerId))
                    {
                        return(NotFound());
                    }
                    else
                    {
                        throw;
                    }
                }
                return(RedirectToAction(nameof(Index)));
            }
            return(View(pollTaker));
        }
        public async Task <IActionResult> Create([Bind("TakerId,FirstName,LastName,Gender,Age,ApplicationUserId")] PollTaker pollTaker)
        {
            if (ModelState.IsValid)
            {
                _context.Add(pollTaker);
                await _context.SaveChangesAsync();

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