public async Task RemoveLaTeachingAids(int id)
        {
            var laTeachingAids = context.LateachingAid.Where(x => x.IdlateachingAid == id);

            context.RemoveRange(laTeachingAids);
            await context.SaveChangesAsync();
        }
Ejemplo n.º 2
0
        public async Task RemoveKeywords(List <string> keywords, int lsId)
        {
            var lsKeywords = context.Lskeyword.Where(x => x.Idlskeyword == lsId);

            context.RemoveRange(lsKeywords);
            await context.SaveChangesAsync();
        }
        public async Task RemoveLsCorr(int lsId)
        {
            var lsCorr = context.LscorrelationInterdisciplinarity.Where(x => x.Lsid == lsId);

            context.RemoveRange(lsCorr);
            await context.SaveChangesAsync();
        }
Ejemplo n.º 4
0
        public async Task RemoveLaStrategyMethods(int laId)
        {
            var laStrategyMethods = context.LastrategyMethod.Where(x => x.Laid == laId);

            context.RemoveRange(laStrategyMethods);
            await context.SaveChangesAsync();
        }