46 lines
1017 B
C#
46 lines
1017 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 NativeInfoMaintainBll
|
|
{
|
|
public NativeInfoMaintainDal Dal = new NativeInfoMaintainDal();
|
|
|
|
public List<NativeInfoMaintainModel> GetAllList(string id)
|
|
{
|
|
return Dal.GetAllList(id);
|
|
}
|
|
|
|
public List<NativeInfoMaintainModel> GetAllList()
|
|
{
|
|
return Dal.GetAllList();
|
|
}
|
|
|
|
public bool Edit(NativeInfoMaintainModel model)
|
|
{
|
|
return Dal.Edit(model);
|
|
}
|
|
|
|
public bool Add(NativeInfoMaintainModel model)
|
|
{
|
|
return Dal.Add(model);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 根据id删除户籍
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
public object delHousehold(string id)
|
|
{
|
|
return Dal.del(id);
|
|
}
|
|
}
|
|
}
|