コード例 #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();
        }
コード例 #2
0
 public JsonResponse Execute(JsonResponse response)
 {
     return response;
 }