39 lines
907 B
C#
39 lines
907 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 PastHistoryBll
|
|||
|
|
{
|
|||
|
|
public PastHistoryDal Dal = new PastHistoryDal();
|
|||
|
|
public List<PastHistoryModel> GetAllList(string id,string stauts)
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllList(id,stauts);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public int getCount(string key)
|
|||
|
|
{
|
|||
|
|
//throw new NotImplementedException();
|
|||
|
|
return Dal.getCount(key);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public List<PastHistoryModel> getList(string key)
|
|||
|
|
{
|
|||
|
|
return Dal.getList(key);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public object save(PastHistoryModel cpm, ERPUser user)
|
|||
|
|
{
|
|||
|
|
return Dal.save(cpm, user);
|
|||
|
|
}
|
|||
|
|
public object delete(string id)
|
|||
|
|
{
|
|||
|
|
return Dal.delete(id);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|