public ActionResult <ItemResponse <Paged <VenuesV2> > > SearchV2(int pageIndex, int pageSize, string query)
        {
            int          code     = 200;
            BaseResponse response = null;

            try
            {
                Paged <VenuesV2> paged = _service.SearchV2(pageIndex, pageSize, query);

                if (paged == null)
                {
                    code     = 404;
                    response = new ErrorResponse("Venue Record Not Found");
                }
                else
                {
                    response = new ItemResponse <Paged <VenuesV2> > {
                        Item = paged
                    };
                }
            }
            catch (Exception ex)
            {
                code     = 500;
                response = new ErrorResponse(ex.Message);
                base.Logger.LogError(ex.ToString());
            }

            return(StatusCode(code, response));
        }