| | |
| | | { |
| | | private readonly IBasicRepository _basicRepository; |
| | | |
| | | public IMaterielInfoRepository Repository => BaseDal; |
| | | |
| | | public MaterielInfoService(IMaterielInfoRepository BaseDal, IBasicRepository basicRepository) : base(BaseDal) |
| | | { |
| | | _basicRepository = basicRepository; |
| | | } |
| | | /// <summary> |
| | | /// 娣诲姞鑰佸巶鐗╂枡淇℃伅 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public WebResponseContent AddMaterial() |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |
| | | try |
| | | { |
| | | |
| | | public IMaterielInfoRepository Repository => BaseDal; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | content.Error(ex.Message); |
| | | } |
| | | return content; |
| | | } |
| | | |
| | | } |
| | | } |