39 lines
899 B
C#
39 lines
899 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using dccdc.Models;
|
|
|
|
namespace dccdc.BLL
|
|
{
|
|
public class WeiHuBll
|
|
{
|
|
DAL.WeiHuDal _dal = new DAL.WeiHuDal();
|
|
public int getCount()
|
|
{
|
|
return _dal.getCount();
|
|
}
|
|
|
|
public List<Models.Sz_infectiousDisease_category> getListPage(int page, int pagesize)
|
|
{
|
|
return _dal.getListPage(page, pagesize);
|
|
}
|
|
|
|
public List<Models.Sz_infectiousDisease_category> GetAllList(string id)
|
|
{
|
|
return _dal.GetAllList(id);
|
|
}
|
|
|
|
public bool Update(Sz_infectiousDisease_category dtomodel)
|
|
{
|
|
return _dal.Update(dtomodel);
|
|
}
|
|
|
|
public bool Add(Sz_infectiousDisease_category dtomodel)
|
|
{
|
|
return _dal.Add(dtomodel);
|
|
}
|
|
}
|
|
}
|