Esempio n. 1
0
        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();
        }
Esempio n. 4
0
        public void Opening_ManualDelete()
        {
            using var context = new TecContext();

            context.Remove(context.Openings.Find("OPN-000001"));
            context.SaveChanges();
        }
Esempio n. 5
0
        public void DeleteCourse()
        {
            using var context = new TecContext();

            context.Remove(context.Courses.Find("COR-000001"));
            //context.SaveChanges();
        }
Esempio n. 6
0
        public void DeleteSession()
        {
            using var context = new TecContext();

            context.Remove(context.TrainingSessions.Find("TRA-000001"));
            context.SaveChanges();
        }