public void XoaTacGia(int maTG) { var tacGia = _tacGiaRepository.GetBy(maTG); _tacGiaRepository.Delete(tacGia); }
public bool Delete(Tacgia entity) { return(_repository.Delete(entity)); }