Example #1
0
        protected async Task RemoveAsync(string handle)
        {
            var entity = await GetEntityByHandle(handle)
                         .ConfigureAwait(false);

            _context.Remove(entity);
            await _context.SaveChangesAsync().ConfigureAwait(false);
        }