public bool Deleta(Marca marca) { try { ObterPorId(marca.CodigoMarca); return(_marcaRepository.Deleta(marca)); } catch (NotFoundExepction) { throw; } catch (Exception e) { throw new ArgumentException("Não foi possível deletar marca. " + e); } }