Hidistro.ControlPanel/ControlPanel/Settings/CustomerServiceHelper.cs

(完整代码) 993B

namespace ControlPanel.Settings
{
    using Hidistro.Entities.Settings;
    using Hidistro.SqlDal.Settings;
    using System;
    using System.Data;

    public class CustomerServiceHelper
    {
        private static CustomerServiceDao dao = new CustomerServiceDao();

        public static int CreateCustomer(CustomerServiceInfo info, ref string msg)
        {
            return dao.CreateCustomer(info, ref msg);
        }

        public static bool DeletCustomer(int id)
        {
            return dao.DeletCustomer(id);
        }

        public static CustomerServiceInfo GetCustomer(int id)
        {
            return dao.GetCustomer(id);
        }

        public static DataTable GetCustomers(string unit)
        {
            return dao.GetCustomers(unit);
        }

        public static bool UpdateCustomer(CustomerServiceInfo info, ref string msg)
        {
            return dao.UpdateCustomer(info, ref msg);
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。