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