public FundViewModel Create(CreateFundCommand command) { return(mapper .Map <FundViewModel>( bus.DispatchCommand <CreateFundCommand, Fund>(command).Result)); }
public void Delete(DeletePersonaCommand commandDelete) { messageBus.DispatchCommand(commandDelete); }