Exemplo 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();
        }
Exemplo n.º 2
0
        public void DeleteApplication()
        {
            using var context = new TecContext();

            context.Remove(context.Applications.Find("APL-000002"));
            context.SaveChanges();
        }
Exemplo n.º 3
0
        public void DeleteSession()
        {
            using var context = new TecContext();

            context.Remove(context.RegisteredCandidates.Find("REG-000001"));
            context.SaveChanges();
        }
Exemplo n.º 4
0
        public void Opening_ManualDelete()
        {
            using var context = new TecContext();

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

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

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