/// <summary>Gets a specific 'Shipper' based on it's primary key.</summary>
        public ShipperResponse Get(ShipperPkRequest request)
        {
            if (Validator != null)
            {
                Validator.ValidateAndThrow(new Shipper {
                    ShipperId = request.ShipperId
                }, "PkRequest");
            }

            OnBeforeGetShipperPkRequest(request);
            var output = Repository.Fetch(request);

            OnAfterGetShipperPkRequest(request, output);
            if (output.Result == null)
            {
                throw new HttpError(HttpStatusCode.NotFound, "NullReferenceException", "Shipper matching [ShipperId = {0}]  does not exist".Fmt(request.ShipperId));
            }
            return(output);
        }
 partial void OnAfterGetShipperPkRequest(ShipperPkRequest request, ShipperResponse response);
 partial void OnBeforeGetShipperPkRequest(ShipperPkRequest request);