public ActionResult <ItemResponse <ProviderBase> > SelectById(int id)
        {
            int          code     = 200;
            BaseResponse response = null;

            try
            {
                ProviderBase provider = _service.SelectById(id);
                if (provider == null)
                {
                    code     = 404;
                    response = new ErrorResponse("App resource not found.");
                }
                else
                {
                    response = new ItemResponse <ProviderBase>()
                    {
                        Item = provider
                    };
                }
            }
            catch (Exception ex)
            {
                code     = 500;
                response = new ErrorResponse(ex.Message);
                base.Logger.LogError(ex.ToString());
            }

            return(StatusCode(code, response));
        }