public PersonaViewModel Create(CreatePersonaCommand command) { return(mapper .Map <PersonaViewModel>( messageBus .DispatchCommandTwoWay <CreatePersonaCommand, Persona >(command).Result)); }
public PersonaViewModel Create(CreatePersonaCommand command) { return(mapper .Map <PersonaViewModel>( messageBus .DispatchCommandTwoWay <CreatePersonaCommand, Persona >(command).Result)); }