public async Task <IActionResult> PutInternship(int id, Internship internship)
        {
            if (id != internship.InternshipId)
            {
                return(BadRequest());
            }

            _context.Entry(internship).State = EntityState.Modified;

            try
            {
                await _context.SaveChangesAsync();

                Internship updated = _context.Internships.Find(id);
                return(Ok(new Response <Internship>(updated)));
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!InternshipExists(id))
                {
                    return(NotFound());
                }
                else
                {
                    throw;
                }
            }

            return(NoContent());
        }