37 lines
773 B
C#
37 lines
773 B
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 InfectionQuestionBll
|
|
{
|
|
private InfectionQuestionDal dal = new InfectionQuestionDal();
|
|
|
|
public List<InfectionQuestionModel> GetAllDataList()
|
|
{
|
|
return dal.GetAllDataList();
|
|
}
|
|
|
|
public object saveData(InfectionQuestionModel model)
|
|
{
|
|
return dal.saveData(model);
|
|
}
|
|
|
|
public object deleteData(string id)
|
|
{
|
|
return dal.deleteData(id);
|
|
}
|
|
|
|
public InfectionQuestionModel GetTodayQuestion()
|
|
{
|
|
return dal.GetTodayQuestion();
|
|
}
|
|
|
|
}
|
|
}
|