// Create
        public HttpResponseMessage Post(Teacher teacher)
        {
            Uow.Teachers.Add(teacher);
            Uow.Commit();

            var response = Request.CreateResponse(HttpStatusCode.Created, teacher);

            response.Headers.Location = new Uri(Url.Link(WebApiConfig.ControllerAndId, new { id = teacher.Id }));

            return response;
        }
 // Update
 public HttpResponseMessage Put(Teacher teacher)
 {
     Uow.Teachers.Update(teacher);
     Uow.Commit();
     return new HttpResponseMessage(HttpStatusCode.NoContent);
 }