public HttpResponseMessage Post(ContatoCadastroViewModel model)
 {
     if (ModelState.IsValid)
     {
         try
         {
             appService.Cadastrar(model);
             return(Request.CreateResponse
                        (HttpStatusCode.OK, "Contato cadastrado com sucesso."));
         }
         catch (Exception e)
         {
             return(Request.CreateResponse
                        (HttpStatusCode.InternalServerError, e.Message));
         }
     }
     else
     {
         return(Request.CreateResponse(HttpStatusCode.BadRequest));
     }
 }