Ejemplo n.º 1
0
 public void DeleteMentor(long mentorId)
 {
     dbContext.Remove(dbContext.Mentors.FirstOrDefault(m => m.MentorId == mentorId));
     dbContext.SaveChanges();
 }