22 lines
490 B
C#
22 lines
490 B
C#
using System.Collections.Generic;
|
|
using WX.CRM.DataSynClient.Dao;
|
|
using WX.CRM.DataSynClient.Domain;
|
|
|
|
namespace WX.CRM.DataSynClient.Application
|
|
{
|
|
public class SyncPushService
|
|
{
|
|
private static readonly IStore _db = new StoreFactory().GetStore();
|
|
public IEnumerable<SYNC_PUSH> GetList(int topNum)
|
|
{
|
|
return _db.GetList(topNum);
|
|
}
|
|
|
|
public void PushSucc(SYNC_PUSH info)
|
|
{
|
|
_db.PushSucc(info);
|
|
}
|
|
|
|
}
|
|
}
|