public void Eliminar(int id) { commissions oCommission = new commissions { commission_id = id, }; oRepositorio.Delete(oCommission); oUnitOfWork.SaveChanges(); }
public void CommissionDelete(Commission commission) { CommissionRepository.Delete(commission); }