41 lines
950 B
C#
41 lines
950 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 InfectionDaysignQuestionBll
|
|||
|
|
{
|
|||
|
|
private InfectionDaysignQuestionDal dal = new InfectionDaysignQuestionDal();
|
|||
|
|
|
|||
|
|
public List<InfectionDaysignQuestionModel> GetAllDataList()
|
|||
|
|
{
|
|||
|
|
return dal.GetAllDataList();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public object saveData(InfectionDaysignQuestionModel model)
|
|||
|
|
{
|
|||
|
|
return dal.saveData(model);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public object deleteData(string id)
|
|||
|
|
{
|
|||
|
|
return dal.deleteData(id);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public InfectionDaysignQuestionModel GetTodayQuestion()
|
|||
|
|
{
|
|||
|
|
return dal.GetTodayQuestion();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public InfectionDaysignQuestionModel GetOneRandomQuestion()
|
|||
|
|
{
|
|||
|
|
return dal.GetOneRandomQuestion();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|