public SimpleResponse <bool> Any(EmployeeDeleteRequest request)
        {
            if (Validator != null)
            {
                Validator.ValidateAndThrow(new Employee {
                    EmployeeId = request.EmployeeId
                }, ApplyTo.Delete);
            }

            OnBeforeEmployeeDeleteRequest(request);
            var output = Repository.Delete(request);

            OnAfterEmployeeDeleteRequest(request, output);
            if (!output.Result)
            {
                throw new HttpError(HttpStatusCode.NotFound, "NullReferenceException", "Employee matching [EmployeeId = {0}]  does not exist".Fmt(request.EmployeeId));
            }
            return(output);
        }
 partial void OnAfterEmployeeDeleteRequest(EmployeeDeleteRequest request, SimpleResponse <bool> deleted);
 partial void OnBeforeEmployeeDeleteRequest(EmployeeDeleteRequest request);