36 lines
815 B
C#
36 lines
815 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using dccdc.DAL;
|
|
using dccdc.Models;
|
|
|
|
namespace dccdc.BLL
|
|
{
|
|
public class vaccineBll
|
|
{
|
|
public vaccineDal Dal = new vaccineDal();
|
|
|
|
public int getCount(string name,string type)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return Dal.getCount(name,type);
|
|
}
|
|
|
|
public List<vaccine> getList(int page, int pagesize, string name,string type)
|
|
{
|
|
return Dal.getList(page, pagesize, name,type);
|
|
}
|
|
public List<vaccine> getAllList(string name)
|
|
{
|
|
return Dal.getAllList(name);
|
|
}
|
|
|
|
public object save(vaccine cpm)
|
|
{
|
|
return Dal.save(cpm);
|
|
}
|
|
}
|
|
}
|