48 lines
1.0 KiB
C#
48 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 InfectionOpenCrowdBll
|
|
{
|
|
private InfectionOpenCrowdDal dal = new InfectionOpenCrowdDal();
|
|
|
|
public List<InfectionOpenCrowdModel> GetAllDataList()
|
|
{
|
|
return dal.GetAllDataList();
|
|
}
|
|
|
|
public object saveData(InfectionOpenCrowdModel model)
|
|
{
|
|
return dal.saveData(model);
|
|
}
|
|
|
|
public object deleteData(string id)
|
|
{
|
|
return dal.deleteData(id);
|
|
}
|
|
|
|
|
|
public List<InfectionOpenCrowdModel> GetAllIDNameIsQuestion()
|
|
{
|
|
return dal.GetAllIDNameIsQuestion();
|
|
}
|
|
|
|
public List<InfectionOpenCrowdModel> GetOpenDataList()
|
|
{
|
|
return dal.GetOpenDataList();
|
|
}
|
|
|
|
public InfectionOpenCrowdModel findById(int crowd_id)
|
|
{
|
|
return dal.findById(crowd_id);
|
|
}
|
|
|
|
}
|
|
}
|