tijian_tieying/web/dccdc.BLL/kemu5Bll.cs

61 lines
1.2 KiB
C#
Raw 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 kemu5Bll
{
public kemu5Dal Dal = new kemu5Dal();
public List<kemu5Model> GetAllTreeList()
{
return Dal.GetAllTreeList();
}
public kemu5Model GetmodelByName(string name)
{
return Dal.GetmodelByName(name);
}
public List<kemu5Model> GetAllList()
{
return Dal.GetAllList();
}
public List<kemu5Model> GetListByKey(string key)
{
return Dal.GetListByKey(key);
}
public List<kemu5Model> GetAllList(string id)
{
return Dal.GetAllList(id);
}
public bool Add(kemu5Model model)
{
return Dal.Add(model);
}
public bool Update(kemu5Model model)
{
return Dal.Update(model);
}
public bool Update2(string title, string content)
{
return Dal.Update2(title, content);
}
public object delete(string id)
{
return Dal.delete(id);
}
}
}