// POST api/person
        public HttpResponseMessage Post(Person model)
        {
            _PersonRepository.Insert(model);
            _PersonRepository.SubmitChanges();

            var response = Request.CreateResponse(HttpStatusCode.Created, viewModel);
            response.Headers.Location = new Uri(Request.RequestUri, Url.Route(null, new { id = viewModel.ScheduleId }));
            return response;
        }
 // PUT api/person/5
 public void Put(int id, Person model)
 {
     var updateMe = _PersonRepository.GetAll().FirstOrDefault(x => x.PersonId == id);
     updateMe.Name = model.Name;
     _PersonRepository.SubmitChanges();
 }