示例#1
0
        public ICommandResult Execute(DeleteTipoEventoCommand command)
        {
            var TipoEvento = TipoEventoRepository.GetById(command.Id);

            TipoEventoRepository.Delete(TipoEvento);
            unitOfWork.Commit();
            return(new CommandResult(true));
        }