Exemplo n.º 1
0
        public Relations DeleteRelation(int id)
        {
            var relation = GetById(id);

            if (relation != null)
            {
                dbContext.Remove(relation);
            }
            return(relation);
        }
Exemplo n.º 2
0
        public People DeletePeople(int id)
        {
            var people = GetById(id);

            if (people != null)
            {
                dbContext.Remove(people);
            }
            return(people);
        }