Пример #1
0
        public void Handle(Type modelType, Notification notification)
        {
            var jsonResponse = new JsonResponse();

            jsonResponse.RegisterErrors(notification.ToValidationErrors());

            _request.Set(jsonResponse);

            _factory
            .BuildPartial(jsonResponse.GetType())
            .InvokePartial();
        }