public bool Delete(Guid id) { var result = _paymentMethodRepository.Remove(id); return(result); }
public void DeletePaymentMethod(int id) { _paymentMethodRepository.Remove(id); _paymentMethodRepository.SaveChanges(); }