public Person ConstructPerson(IPersonBuilder personBuilder)
 {
     personBuilder.BuildHead();
     personBuilder.BuildBody();
     personBuilder.BuildFoot();
     return(personBuilder.GetPerson());
 }
        public IHttpActionResult GetPerson(int id)
        {
            IPerson person = personBuilder.GetPerson(id);

            if (person == null)
            {
                return(NotFound());
            }
            return(Ok(person));
        }
 //returns person object
 public Person GetPerson()
 {
     return(_personBuilder.GetPerson());
 }