public async Task<IActionResult> Edit(int id, [Bind("Id,Email,Phone")] OutgoingRoute outgoingRoute)
        {
            if (id != outgoingRoute.Id)
            {
                return NotFound();
            }

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