示例#1
0
        public async Task <Lid> AddLid(Lid lid)
        {
            await _context.Leden.AddAsync(lid);

            await _context.SaveChangesAsync();

            return(lid);
        }
示例#2
0
        public async Task <Afdeling> AddAfdeling(Afdeling afdeling)
        {
            await _context.Afdelingen.AddAsync(afdeling);

            await _context.SaveChangesAsync();

            return(afdeling);
        }