tijian_tieying/web/dccdc.BLL/szyd_cgfsBll.cs

57 lines
1.1 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 szyd_cgfsBll
{
public szyd_cgfsDal Dal = new szyd_cgfsDal();
public List<szyd_cgfsModel> GetAllTreeList()
{
return Dal.GetAllTreeList();
}
public szyd_cgfsModel GetmodelByName(string name)
{
return Dal.GetmodelByName(name);
}
public List<szyd_cgfsModel> GetAllList()
{
return Dal.GetAllList();
}
public List<szyd_cgfsModel> GetListByKey(string key)
{
return Dal.GetListByKey(key);
}
public List<szyd_cgfsModel> GetAllList(string id)
{
return Dal.GetAllList(id);
}
public bool Add(szyd_cgfsModel model)
{
return Dal.Add(model);
}
public bool Update(szyd_cgfsModel model)
{
return Dal.Update(model);
}
public object delete(string id)
{
return Dal.delete(id);
}
}
}