tijian_tieying/web/dccdc.BLL/kemu2Bll.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 kemu2Bll
{
public kemu2Dal Dal = new kemu2Dal();
public List<kemu2Model> GetAllTreeList()
{
return Dal.GetAllTreeList();
}
public kemu2Model GetmodelByName(string name)
{
return Dal.GetmodelByName(name);
}
public List<kemu2Model> GetAllList()
{
return Dal.GetAllList();
}
public List<kemu2Model> GetListByKey(string key)
{
return Dal.GetListByKey(key);
}
public List<kemu2Model> GetAllList(string id)
{
return Dal.GetAllList(id);
}
public bool Add(kemu2Model model)
{
return Dal.Add(model);
}
public bool Update(kemu2Model model)
{
return Dal.Update(model);
}
public object delete(string id)
{
return Dal.delete(id);
}
}
}