public HttpResponseMessage UpdateAddress(int id, [FromBody] AddressEntity addressEntity)
        {
            if (id > 0)
            {
                if (!ModelState.IsValid)
                {
                    return(Request.CreateErrorResponse(HttpStatusCode.BadRequest, "Please provide all the required fields."));
                }

                return(Request.CreateResponse(HttpStatusCode.OK, _addressServices.UpdateAddress(id, addressEntity)));
            }
            return(Request.CreateResponse(HttpStatusCode.OK, false));
        }