public void Delete(Guid id) { var obra = obraRepository.GetById(id); obraRepository.Delete(obra); Save(); }
public bool Delete(int id) { return(_obraRepository.Delete(id)); }