public void MarkAsModified(SubCategoria item) //retira a dependência da tabela Subcategoria { Entry(item).State = EntityState.Modified; }