49 lines
1.2 KiB
C#
49 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 InfectionQuestionAnswerBll
|
|
{
|
|
private InfectionQuestionAnswerDal dal = new InfectionQuestionAnswerDal();
|
|
|
|
public string SaveData(InfectionQuestionAnswerModel model)
|
|
{
|
|
return dal.SaveData(model);
|
|
}
|
|
public string updateData(InfectionQuestionAnswerModel 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<InfectionQuestionAnswerModel> getDataListByUserID(string info_id)
|
|
{
|
|
return dal.getDataListByUserID(info_id);
|
|
}
|
|
|
|
public List<InfectionQuestionAnswerModel> export(string name, string ident)
|
|
{
|
|
return dal.export(name, ident);
|
|
}
|
|
}
|
|
}
|