Esempio n. 1
0
        public async Task <bool> DeleteUsersAsync(IEnumerable <int> ids)
        {
            dbContext.RemoveRange(dbContext.Users.Where(u => ids.Contains(u.Id)));
            await dbContext.SaveChangesAsync();

            return(true);
        }