| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using System;
- using System.Collections.Generic;
- using System.Data;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace CallCenterApi.BLL
- {
- public class Rotation
- {
- DAL.Rotation dal = new DAL.Rotation();
- /// <summary>
- /// 增加一条图片
- /// </summary>
- /// <param name="model"></param>
- /// <returns></returns>
- public int Add(Model.Rotation model)
- {
- return dal.Add(model);
- }
- /// <summary>
- /// 查询图片信息
- /// </summary>
- /// <returns></returns>
- public DataSet GetList()
- {
- return dal.GetList();
- }
- /// <summary>
- /// 禁用图片信息
- /// </summary>
- /// <param name="id"></param>
- /// <returns></returns>
- public bool delrotation(string id)
- {
- return dal.delrotation(id);
- }
- /// <summary>
- /// 启用图片信息
- /// </summary>
- /// <param name="id"></param>
- /// <returns></returns>
- public bool poenRotion(string id)
- {
- return dal.poenRotion(id);
- }
- }
- }
|