Ei kuvausta

Rotation.cs 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Data;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace CallCenterApi.BLL
  8. {
  9. public class Rotation
  10. {
  11. DAL.Rotation dal = new DAL.Rotation();
  12. /// <summary>
  13. /// 增加一条图片
  14. /// </summary>
  15. /// <param name="model"></param>
  16. /// <returns></returns>
  17. public int Add(Model.Rotation model)
  18. {
  19. return dal.Add(model);
  20. }
  21. /// <summary>
  22. /// 查询图片信息
  23. /// </summary>
  24. /// <returns></returns>
  25. public DataSet GetList()
  26. {
  27. return dal.GetList();
  28. }
  29. /// <summary>
  30. /// 禁用图片信息
  31. /// </summary>
  32. /// <param name="id"></param>
  33. /// <returns></returns>
  34. public bool delrotation(string id)
  35. {
  36. return dal.delrotation(id);
  37. }
  38. /// <summary>
  39. /// 启用图片信息
  40. /// </summary>
  41. /// <param name="id"></param>
  42. /// <returns></returns>
  43. public bool poenRotion(string id)
  44. {
  45. return dal.poenRotion(id);
  46. }
  47. }
  48. }