public async Task <IActionResult> Edit(Guid id, [Bind("Id")] SalesPersonsPendingFollowUps salesPersonsPendingFollowUps)
        {
            if (id != salesPersonsPendingFollowUps.Id)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                try
                {
                    _context.Update(salesPersonsPendingFollowUps);
                    await _context.SaveChangesAsync();
                }
                catch (DbUpdateConcurrencyException)
                {
                    if (!SalesPersonsPendingFollowUpsExists(salesPersonsPendingFollowUps.Id))
                    {
                        return(NotFound());
                    }
                    else
                    {
                        throw;
                    }
                }
                return(RedirectToAction(nameof(Index)));
            }
            return(View(salesPersonsPendingFollowUps));
        }
        public async Task <IActionResult> Create([Bind("Id")] SalesPersonsPendingFollowUps salesPersonsPendingFollowUps)
        {
            if (ModelState.IsValid)
            {
                salesPersonsPendingFollowUps.Id = Guid.NewGuid();
                _context.Add(salesPersonsPendingFollowUps);
                await _context.SaveChangesAsync();

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