tijian_tieying/web/dccdc.BLL/kemu3Bll.cs

57 lines
1.1 KiB
C#
Raw Permalink Normal View History

2025-02-20 12:14:39 +08:00
using dccdc.DAL;
using dccdc.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace dccdc.BLL
{
public class kemu3Bll
{
public kemu3Dal Dal = new kemu3Dal();
public List<kemu3Model> GetAllTreeList()
{
return Dal.GetAllTreeList();
}
public kemu3Model GetmodelByName(string name)
{
return Dal.GetmodelByName(name);
}
public List<kemu3Model> GetAllList()
{
return Dal.GetAllList();
}
public List<kemu3Model> GetListByKey(string key)
{
return Dal.GetListByKey(key);
}
public List<kemu3Model> GetAllList(string id)
{
return Dal.GetAllList(id);
}
public bool Add(kemu3Model model)
{
return Dal.Add(model);
}
public bool Update(kemu3Model model)
{
return Dal.Update(model);
}
public object delete(string id)
{
return Dal.delete(id);
}
}
}