Exemplo n.º 1
0
        public void Post([FromBody] SaveTodoCommand saveTodoCommand)
        {
            var handler = _handlerFactory.GetCommandHandler <SaveTodoCommand>(typeof(SaveTodoCommand));

            handler.Execute(saveTodoCommand);
        }