コード例 #1
0
        public async Task <bool> DeleteAsync(DepositEntity deposit)
        {
            _context.Remove(deposit);
            await _context.SaveChangesAsync();

            return(true);
        }
コード例 #2
0
        public async Task <bool> DeleteAsync(CustomerEntity customer)
        {
            _context.Remove(customer);
            await _context.SaveChangesAsync();

            return(true);
        }