public ProductBrandEntity Create(ProductBrandEntity entity) { try { _productbrandRepository.Insert(entity); return(entity); } catch (Exception e) { _log.Error(e, "数据库操作出错"); return(null); } }
public LandAgentBillEntity Create(LandAgentBillEntity entity) { try { _landagentbillRepository.Insert(entity); return(entity); } catch (Exception e) { _log.Error(e, "数据库操作出错"); return(null); } }
public ClassifyEntity Create(ClassifyEntity entity) { try { _classifyRepository.Insert(entity); return(entity); } catch (Exception e) { _log.Error(e, "数据库操作出错"); return(null); } }
public CFBBillEntity Create(CFBBillEntity entity) { try { _cfbbillRepository.Insert(entity); return(entity); } catch (Exception e) { _log.Error(e, "数据库操作出错"); return(null); } }
public ParameterValueEntity Create(ParameterValueEntity entity) { try { _parametervalueRepository.Insert(entity); return entity; } catch (Exception e) { _log.Error(e, "数据库操作出错"); return null; } }
public OrderEntity Create(OrderEntity entity) { try { _orderRepository.Insert(entity); return(entity); } catch (Exception e) { _log.Error(e, "数据库操作出错"); return(null); } }
public BrandParameterEntity Create(BrandParameterEntity entity) { try { _brandparameterRepository.Insert(entity); return(entity); } catch (Exception e) { _log.Error(e, "数据库操作出错"); return(null); } }