tijian_tieying/web/dccdc.BLL/InfectionRepositoryBll.cs

53 lines
1.3 KiB
C#
Raw Normal View History

2025-02-20 12:14:39 +08:00
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 InfectionRepositoryBll
{
private InfectionRepositoryDal dal = new InfectionRepositoryDal();
public List<InfectionRepositoryModel> GetAllData()
{
return dal.GetAllData();
}
public List<InfectionRepositoryModel> GetDataByID(int id)
{
return dal.GetDataByID(id);
}
public List<InfectionRepositoryModel> getAllDataList(int page, int pagesize, string title, string start, string end)
{
return dal.getAllDataList(page, pagesize, title, start, end);
}
public int getCount(string title, string start, string end)
{
return dal.getCount(title, start, end);
}
public object repositorySaveData(InfectionRepositoryModel model)
{
return dal.repositorySaveData(model);
}
public object repositoryModifyData(InfectionRepositoryModel model, string state)
{
return dal.repositoryModifyData(model, state);
}
public object deleteByID(string id)
{
return dal.deleteByID(id);
}
}
}