demo_trade/Data/Repository/SQLPickupRepository.cs
2024-10-04 15:41:04 +03:00

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();
}
}
}