public void DeleteCandidate() { using var context = new TecContext(); context.Remove(context.Candidates.Find("CDT-000001")); context.Remove(context.Candidates.Find("CDT-000202")); //context.Remove(context.Candidates.Find("CDT-000203")); context.SaveChanges(); }
public void DeleteApplication() { using var context = new TecContext(); context.Remove(context.Applications.Find("APL-000002")); context.SaveChanges(); }
public void DeleteSession() { using var context = new TecContext(); context.Remove(context.RegisteredCandidates.Find("REG-000001")); context.SaveChanges(); }
public void Opening_ManualDelete() { using var context = new TecContext(); context.Remove(context.Openings.Find("OPN-000001")); context.SaveChanges(); }
public void DeleteCourse() { using var context = new TecContext(); context.Remove(context.Courses.Find("COR-000001")); //context.SaveChanges(); }
public void DeleteSession() { using var context = new TecContext(); context.Remove(context.TrainingSessions.Find("TRA-000001")); context.SaveChanges(); }