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

            return(true);
        }
        public async Task <bool> DeleteAsync(CustomerEntity customer)
        {
            _context.Remove(customer);
            await _context.SaveChangesAsync();

            return(true);
        }