com.eshop.www.BLL/AdminRoleBusiness.cs

(完整代码) 1KB





//
// 
// 网址:http://.taobao.com
// QQ:


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.eshop.www.DAL;
using com.eshop.www.Model;

namespace com.eshop.www.BLL
{
    public class AdminRoleBusiness
    {
        public int Add(AdminRole adminRole)
        {
            return new AdminRoleDAO().Add(adminRole);
        }

        public bool Delete(int Id)
        {
            return new AdminRoleDAO().Delete(Id);
        }

        public bool Update(AdminRole adminRole)
        {
            return new AdminRoleDAO().Update(adminRole);
        }

        public AdminRole GetEntity(int Id)
        {
            return new AdminRoleDAO().GetEntity(Id);
        }
        public bool IsHaveSameName(string roleName)
        {
            return new AdminRoleDAO().IsHaveSameName(roleName);
        }
        public DataRecordTable GetList(string fieldList, string orderField, bool orderBy, int pageIndex, int pageSize, string where)
        {
            return new AdminRoleDAO().GetList(fieldList,orderField,orderBy,pageIndex,pageSize,where);
        }
    }
}

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

AI 解读

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

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