Beispiel #1
0
 public bool Delete(LandAgentBillEntity entity)
 {
     try
     {
         _landagentbillRepository.Delete(entity);
         return(true);
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return(false);
     }
 }
 public bool Delete(ProductBrandEntity entity)
 {
     try
     {
         _productbrandRepository.Delete(entity);
         return(true);
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return(false);
     }
 }
 public bool Delete(ParameterValueEntity entity)
 {
     try
     {
         _parametervalueRepository.Delete(entity);
         return true;
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return false;
     }
 }
Beispiel #4
0
 public bool Delete(ClassifyEntity entity)
 {
     try
     {
         _classifyRepository.Delete(entity);
         return(true);
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return(false);
     }
 }
Beispiel #5
0
 public bool Delete(OrderEntity entity)
 {
     try
     {
         _orderRepository.Delete(entity);
         return(true);
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return(false);
     }
 }