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

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

            OnAfterGetEmployeePkRequest(request, output);
            if (output.Result == null)
            {
                throw new HttpError(HttpStatusCode.NotFound, "NullReferenceException", "Employee matching [EmployeeId = {0}]  does not exist".Fmt(request.EmployeeId));
            }
            return(output);
        }
 partial void OnAfterGetEmployeePkRequest(EmployeePkRequest request, EmployeeResponse response);
 partial void OnBeforeGetEmployeePkRequest(EmployeePkRequest request);