Beispiel #1
0
        public ActionResult Create(CreateUser.Command command)
        {
            _mediator.Execute(command);

            return(this.RedirectToActionJson("List"));
        }
Beispiel #2
0
        public ActionResult Create()
        {
            var model = new CreateUser.Command();

            return(View(model));
        }