public async Task <HttpResponseMessage> FindAll() { try { var response = Request.CreateResponse(HttpStatusCode.OK, await logic.GetAllAddresses()); logger.Info("Get all addresses successful"); return(response); } catch (Exception ex) { LogHelper.ErrorLogger(logger, ex); return(Request.CreateResponse(HttpStatusCode.BadRequest)); } }