public async Task <IActionResult> Duplicate(int id)
        {
            Opportunity opportunity = _context.Opportunities
                                      .Include(o => o.Location)
                                      .Include(o => o.Category)
                                      .Include(o => o.Organization)
                                      .Include(o => o.Community)
                                      .FirstOrDefault(o => o.Id == id);

            if (opportunity == null)
            {
                return(NotFound());
            }

            Opportunity clone = opportunity.Clone();

            clone.CreatedByUser = await GetCurrentUser();

            _context.Opportunities.Add(clone);
            await _context.SaveChangesAsync();

            return(RedirectToAction("Edit", new { id = clone.Id }));
        }