public AreaEntity GetAreaById(int id) { try { return(_areaRepository.GetById(id)); } catch (Exception e) { _log.Error(e, "数据库操作出错"); return(null); } }
public ProductEntity GetProductById(int id) { try { return(_productRepository.GetById(id)); } catch (Exception e) { _log.Error(e, "数据库操作出错"); return(null); } }
public CommissionRatioEntity GetById(int id) { try { return(_commissionRatioRepository.GetById(id)); } catch (Exception e) { _log.Error(e, "数据库操作出错"); throw; } }