52 lines
1.0 KiB
C#
52 lines
1.0 KiB
C#
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 sqshBll
|
|
{
|
|
public sqshDal Dal = new sqshDal();
|
|
public List<sqshModel> GetAllTreeList()
|
|
{
|
|
return Dal.GetAllTreeList();
|
|
}
|
|
|
|
public sqshModel GetmodelByName(string name)
|
|
{
|
|
return Dal.GetmodelByName(name);
|
|
}
|
|
|
|
public List<sqshModel> GetAllList()
|
|
{
|
|
return Dal.GetAllList();
|
|
}
|
|
|
|
public List<sqshModel> GetListByKey(string type,string sqid)
|
|
{
|
|
return Dal.GetListByKey(type, sqid);
|
|
}
|
|
|
|
|
|
public List<sqshModel> GetAllList(string id)
|
|
{
|
|
return Dal.GetAllList(id);
|
|
}
|
|
|
|
public bool Add(sqshModel model)
|
|
{
|
|
|
|
return Dal.Add(model);
|
|
}
|
|
|
|
public bool Update(sqshModel model)
|
|
{
|
|
return Dal.Update(model);
|
|
}
|
|
}
|
|
}
|