36 lines
798 B
C#
36 lines
798 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 OccupationHistoryBll
|
|
{
|
|
public OccupationHistoryDal Dal = new OccupationHistoryDal();
|
|
public int getCount(string key)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return Dal.getCount(key);
|
|
}
|
|
|
|
public List<OccupationHistoryModel> getList(string key)
|
|
{
|
|
return Dal.getList(key);
|
|
}
|
|
|
|
public object save(OccupationHistoryModel cpm, ERPUser user)
|
|
{
|
|
return Dal.save(cpm, user);
|
|
}
|
|
|
|
public object delete(string id)
|
|
{
|
|
return Dal.delete(id);
|
|
}
|
|
}
|
|
}
|