/// <summary>
 /// post method to insert new housingData
 /// </summary>
 /// <param name="newData"></param>
 /// <returns></returns>
 public async Task <HttpResponseMessage> Post([FromBody] HousingDataDto newData)
 {
     try
     {
         if (await logicHelper.AddHousingData(newData))
         {
             var theResponse = Request.CreateResponse(HttpStatusCode.OK, "successful insert");
             log.Info("HousingData Post Successful");
             return(theResponse);
         }
         log.Info("HousingData Post Unsuccessful");
         return(Request.CreateResponse(HttpStatusCode.BadRequest, "failed to insert"));
     }
     catch (Exception ex)
     {
         LogHelper.SendError(log, ex);
         return(Request.CreateResponse(HttpStatusCode.BadRequest, "failed to insert"));
     }
 }