44 lines
1.1 KiB
C#
44 lines
1.1 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 InfectionDaysignQuestionAnswerBll
|
|
{
|
|
private InfectionDaysignQuestionAnswerDal dal = new InfectionDaysignQuestionAnswerDal();
|
|
|
|
public string SaveData(InfectionDaysignQuestionAnswerModel model)
|
|
{
|
|
return dal.SaveData(model);
|
|
}
|
|
public string updateData(InfectionDaysignQuestionAnswerModel model)
|
|
{
|
|
return dal.SaveData(model);
|
|
}
|
|
public string delete(string id)
|
|
{
|
|
return dal.delete(id);
|
|
}
|
|
|
|
public bool deleteData(int id)
|
|
{
|
|
return dal.deleteData(id);
|
|
}
|
|
|
|
|
|
public List<InfectionOpenUserInfoModel> GetAllDataList()
|
|
{
|
|
return dal.GetAllDataList();
|
|
}
|
|
public List<InfectionDaysignQuestionAnswerModel> getDataListByUserID(string info_id)
|
|
{
|
|
return dal.getDataListByUserID(info_id);
|
|
}
|
|
}
|
|
}
|