示例#1
0
        public bool Delete(Guid id)
        {
            var result = _paymentMethodRepository.Remove(id);

            return(result);
        }
 public void DeletePaymentMethod(int id)
 {
     _paymentMethodRepository.Remove(id);
     _paymentMethodRepository.SaveChanges();
 }