public IHttpActionResult PostCrew(CrewApplicationDTO crewApplication)
 {
     if (!ModelState.IsValid)
     {
         return BadRequest(ModelState);
     }
     facade.GetCrewApplicationRepository().Add(converter.Reverse(crewApplication));
     return CreatedAtRoute("DefaultApi", new { id = crewApplication.Id }, crewApplication);
 }
        public IHttpActionResult PutCrew(int id, CrewApplicationDTO crewApplicationDTO)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != crewApplicationDTO.Id)
            {
                return BadRequest();
            }
            facade.GetCrewApplicationRepository().Update(converter.Reverse(crewApplicationDTO));

            return StatusCode(HttpStatusCode.NoContent);
        }