23 lines
548 B
C#
23 lines
548 B
C#
using demo_trade.Data.RemoteData.Entity;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace demo_trade.Data.Repository
|
|
{
|
|
public class SQLPickupRepository : IPickupRepository
|
|
{
|
|
private TradeContext _tradeContext;
|
|
public SQLPickupRepository() {
|
|
|
|
_tradeContext = new TradeContext();
|
|
}
|
|
public List<PickupPoint> GetAllPickupPoints()
|
|
{
|
|
return _tradeContext.PickupPoints.ToList();
|
|
}
|
|
}
|
|
}
|