public async Task <SubmitResult <Projeto> > Remover(Guid id) { var result = new ValidationResult(); if (result.IsValid) { _projetoRepository.Remove(id); await _uow.CommitAsync(); } return(new SubmitResult <Projeto>(null, result)); }
public void Remove(Guid obj) { _projetoRepository.Remove(obj); }