예제 #1
0
		public BrokerBillEntity Update (BrokerBillEntity entity)
		{
			try
            {
                _brokerbillRepository.Update(entity);
                return entity;
            }
            catch (Exception e)
            {
				_log.Error(e,"数据库操作出错");
                return null;
            }
		}
예제 #2
0
		public bool Delete(BrokerBillEntity entity)
		{
			try
            {
                _brokerbillRepository.Delete(entity);
                return true;
            }
            catch (Exception e)
            {
				_log.Error(e,"数据库操作出错");
                return false;
            }
		}