public ActionResult GetInspectionByAddressParts(string searchText, string unitNumber,
                                                        string streetNumber, string streetAddress, string subLocality, string suburb, string city, string state,
                                                        string country, string postalCode)
        {
            HttpClient httpClient = null;

            try
            {
                httpClient = GetHttpClient();

                var inspections = InspectionService.QueryInspectionByAddressParts(GetHttpClient(), searchText, unitNumber,
                                                                                  streetNumber, streetAddress, subLocality, suburb, city, state,
                                                                                  country, postalCode);

                return(Json(inspections, JsonRequestBehavior.AllowGet));
            }
            catch (Exception ex)
            {
                LogService.LogMessage(httpClient, new Log()
                {
                    Level        = (int)LogType.Error,
                    Name         = ex.Message,
                    FunctionName = this.GetType().Name + " | " + MethodBase.GetCurrentMethod().Name,
                    Message      = ex.InnerException != null ? ex.InnerException.Message : ex.Message
                });
                return(Json(ex.Message, JsonRequestBehavior.AllowGet));
            }
        }