public void Handle(Type modelType, Notification notification)
        {
            var jsonResponse = new JsonResponse();
            jsonResponse.RegisterErrors(notification.ToValidationErrors());

            _request.Set(jsonResponse);

            _factory
                .BuildPartial(jsonResponse.GetType())
                .InvokePartial();
        }
예제 #2
0
 public JsonResponse Execute(JsonResponse response)
 {
     return response;
 }