public async Task<IHttpActionResult> PostEmployeeProject(EmployeeProject employeeProject)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.EmployeeProjects.Add(employeeProject);

            try
            {
                await db.SaveChangesAsync();
            }
            catch (DbUpdateException)
            {
                if (EmployeeProjectExists(employeeProject.IdEmployee))
                {
                    return Conflict();
                }
                else
                {
                    throw;
                }
            }

            return CreatedAtRoute("DefaultApi", new { id = employeeProject.IdEmployee }, employeeProject);
        }
        public async Task<IHttpActionResult> PutEmployeeProject(int id, EmployeeProject employeeProject)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != employeeProject.IdEmployee)
            {
                return BadRequest();
            }

            db.Entry(employeeProject).State = EntityState.Modified;

            try
            {
                await db.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!EmployeeProjectExists(id))
                {
                    return NotFound();
                }
                else
                {
                    throw;
                }
            }

            return StatusCode(HttpStatusCode.NoContent);
        }