using MyDriving.DataObjects; using MyDriving.DataStore.Abstractions; using MyDriving.Utils; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MyDriving.DataStore.Mock.Stores { public class TripPointStore : BaseStore, ITripPointStore { ITripStore tripStore; public TripPointStore() { tripStore = ServiceLocator.Instance.Resolve(); } public async Task> GetPointsForTripAsync(string id) { return (await tripStore.GetItemAsync(id)).Points; } } }