1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using LeaRun.Application.Service.NBManage;
- using LeaRun.Application.Entity.NBManage;
- namespace LeaRun.Application.Busines.NBManage
- {
- public class NBDevManufacturerBLL
- {
- NBDevManufacturerService service = new NBDevManufacturerService();
- /// <summary>
- /// 保存NBDevManufacturer
- /// </summary>
- /// <param name="entity"></param>
- /// <returns> </returns>
- public bool SaveNBDevManufacturer(NBDevManufacturerEntity entity)
- {
- return service.SaveNBDevManufacturer(entity);
- }
- /// <summary>
- /// 更新NBDevManufacturer
- /// </summary>
- /// <param name="entity"></param>
- /// <returns></returns>
- public bool UpdateNBDevManufacturer(NBDevManufacturerEntity entity)
- {
- return service.UpdateNBDevManufacturer(entity);
- }
- /// <summary>
- /// 删除NBDevManufacturer
- /// </summary>
- /// <param name="NBDevManufacturerID"></param>
- /// <returns>3 不可删除 1 删除成功 0删除失败</returns>
- public int DeleteNBDevManufacturer(string NBDevManufacturerID)
- {
- return service.DeleteNBDevManufacturer(NBDevManufacturerID);
- }
- /// <summary>
- /// 获取NBDevManufacturer
- /// </summary>
- /// <param name="NBDevManufacturerID"></param>
- /// <returns></returns>
- public NBDevManufacturerEntity GetEntityById(string NBDevManufacturerID)
- {
- return service.GetEntityById(NBDevManufacturerID);
- }
- }
- }
|