コード例 #1
0
        public ActionResult Execute()
        {
            var responder = new AddUserResponder();
            var gateway   = new FailingUserGateway();
            var useCase   = new AddUserUseCase();

            useCase.UserGateway = gateway;
            useCase.Execute(responder);
            return(new CamelCaseJsonResult(responder.Actions));
        }