58 lines
1.2 KiB
C#
58 lines
1.2 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 kemuquestionBll
|
|
{
|
|
public kemuquestionDal Dal = new kemuquestionDal();
|
|
public List<kemuquestionModel> GetAllTreeList()
|
|
{
|
|
return Dal.GetAllTreeList();
|
|
}
|
|
|
|
public kemuquestionModel GetmodelByName(string name)
|
|
{
|
|
return Dal.GetmodelByName(name);
|
|
}
|
|
|
|
public List<kemuquestionModel> GetAllList()
|
|
{
|
|
return Dal.GetAllList();
|
|
}
|
|
|
|
public List<kemuquestionModel> GetListByKey(string key)
|
|
{
|
|
return Dal.GetListByKey(key);
|
|
}
|
|
|
|
|
|
public List<kemuquestionModel> GetAllList(string id)
|
|
{
|
|
return Dal.GetAllList(id);
|
|
}
|
|
|
|
public bool Add(kemuquestionModel model)
|
|
{
|
|
|
|
return Dal.Add(model);
|
|
}
|
|
|
|
public bool Update(kemuquestionModel model)
|
|
{
|
|
return Dal.Update(model);
|
|
}
|
|
|
|
public object delete(string id)
|
|
{
|
|
return Dal.delete(id);
|
|
}
|
|
}
|
|
}
|
|
|