Beispiel #1
0
        //if bill pay is once delete it after transaction
        private async Task DeleteOnce(int id, IBWContext _context)
        {
            var billpay = _context.BillPays.Find(id);

            _context.Remove(billpay);
            await _context.SaveChangesAsync();
        }