46 lines
1.0 KiB
C#
46 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 InfectionQuestionRecordBll
|
|
{
|
|
private InfectionQuestionRecordDal dal = new InfectionQuestionRecordDal();
|
|
|
|
public List<InfectionQuestionRecordModel> getDataListByUserID(string userID)
|
|
{
|
|
return dal.getDataListByUserID(userID);
|
|
}
|
|
public object saveData(InfectionQuestionRecordModel model)
|
|
{
|
|
return dal.saveData(model);
|
|
}
|
|
|
|
public bool saveQuestionData(InfectionQuestionRecordModel model)
|
|
{
|
|
return dal.saveQuestionData(model);
|
|
}
|
|
public InfectionQuestionRecordModel getDataById(string id)
|
|
{
|
|
return dal.getDataById(id);
|
|
}
|
|
|
|
public string delete(string id)
|
|
{
|
|
return dal.delete(id);
|
|
}
|
|
|
|
public string getSheetId()
|
|
{
|
|
return dal.getSheetId();
|
|
}
|
|
|
|
|
|
}
|
|
}
|