BLL/StudentManager.cs

(完整代码) 1KB

using DAL;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
    public class StudentManager
    {
        public static List<student> getList2(student stu)
        {
            return StudentService.getList2(stu);
        }
        //查重
        public static student getName(int StudentNum)
        {
            return StudentService.getName(StudentNum);
        }
        //查表
        public static List<student> getCategoryList()
        {
            return StudentService.getCategoryList();
        }
        //添加
        public static bool Insert(student stu)
        {
            return StudentService.Insert(stu);
        }
        //更新
        public static bool updata(student stu)
        {
            return StudentService.updata(stu);
        }
        //删除
        public static bool Delete(int id)
        {
            return StudentService.Delete(id);
        }
        //条件查询
        public static List<student> getList(student stu)
        {
            return StudentService.getList(stu);
        }
    }
}

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

AI 解读 AI

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

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