43 lines
946 B
C#
43 lines
946 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 wzlbBll
|
|||
|
|
{
|
|||
|
|
private wzlbDal Dal = new wzlbDal();
|
|||
|
|
public List<wzlbModel> GetAllList(string id)
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllList(id);
|
|||
|
|
}
|
|||
|
|
public List<wzlbModel> GetAllList(string id, string zt)
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllList(id, zt);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public object save(wzlbModel model)
|
|||
|
|
{
|
|||
|
|
return Dal.save(model);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public object delete(string id)
|
|||
|
|
{
|
|||
|
|
return Dal.delete(id);
|
|||
|
|
}
|
|||
|
|
public int getCount(string key)
|
|||
|
|
{
|
|||
|
|
return Dal.getCount(key);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public List<wzlbModel> getPage(int page, int pagesize, string key)
|
|||
|
|
{
|
|||
|
|
return Dal.getPage(page, pagesize, key);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|