public Relations DeleteRelation(int id) { var relation = GetById(id); if (relation != null) { dbContext.Remove(relation); } return(relation); }
public People DeletePeople(int id) { var people = GetById(id); if (people != null) { dbContext.Remove(people); } return(people); }