public async Task <IActionResult> Edit(int id, [Bind("Id,FirstName,LastName,Email,City,Zipcode,Phone,Age,Gender,IsConfirmed,NoOfTests,PointsEarned")] FakeTesters fakeTesters)
        {
            if (id != fakeTesters.Id)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                try
                {
                    _context.Update(fakeTesters);
                    await _context.SaveChangesAsync();
                }
                catch (DbUpdateConcurrencyException)
                {
                    if (!FakeTestersExists(fakeTesters.Id))
                    {
                        return(NotFound());
                    }
                    else
                    {
                        throw;
                    }
                }
                return(RedirectToAction(nameof(Index)));
            }
            return(View(fakeTesters));
        }
        public async Task <IActionResult> Create([Bind("Id,FirstName,LastName,Email,City,Zipcode,Phone,Age,Gender,IsConfirmed,NoOfTests,PointsEarned")] FakeTesters fakeTesters)
        {
            if (ModelState.IsValid)
            {
                _context.Add(fakeTesters);
                await _context.SaveChangesAsync();

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