public ICommandResult Execute(DeleteTipoEventoCommand command) { var TipoEvento = TipoEventoRepository.GetById(command.Id); TipoEventoRepository.Delete(TipoEvento); unitOfWork.Commit(); return(new CommandResult(true)); }