public bool Alterar(ChamadoDomain domain)
        {
            _contexto.Entry <ChamadoDomain>(domain).State = System.Data.Entity.EntityState.Modified;
            int linhasAlterados = _contexto.SaveChanges();

            if (linhasAlterados > 0)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
        public bool Inserir(ChamadoDomain domain)
        {
            _contexto.Chamados.Add(domain);
            int linhasIncluidas = _contexto.SaveChanges();

            if (linhasIncluidas > 0)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
        //-------------- DELETAR ----------------
        public bool Deletar(ChamadoDomain domain)
        {
            var chamado = _contexto.Chamados.Single(x => x.Id == domain.Id);

            _contexto.Chamados.Remove(chamado);
            int linhasExcluidas = _contexto.SaveChanges();

            if (linhasExcluidas > 0)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }