Пример #1
0
        public async Task Delete(int id)
        {
            _context.Entry(await GetById(id)).State = EntityState.Deleted;

            await Save();
        }