public async Task<IHttpActionResult> PutPersonService(int id, PersonService personService)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != personService.Id)
            {
                return BadRequest();
            }

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

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

            return StatusCode(HttpStatusCode.NoContent);
        }
        public async Task<IHttpActionResult> PostPersonService(PersonService personService)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }
            if (personService.Id > 0)
                db.Entry<PersonService>(personService).State = EntityState.Modified;
            else
                db.PersonServices.Add(personService);
                
            await db.SaveChangesAsync();

            return CreatedAtRoute("DefaultApi", new { id = personService.Id }, personService);
        }