using GameModel; using GameModel.Contract; using GameModel.Settings; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GameData.Repository { public class ExpenseRepository : IExpenseRepository { readonly ILogger _log; private ApiClient _client; private AppSettings _appSettings; string Url => "items/expense"; public ExpenseRepository(ILogger log, AppSettings appSettings) { _appSettings = appSettings; _log = log; _client = new ApiClient(); _log?.LogWarning("TESTWARN"); } public IEnumerable GetAll() { return _client.Get(Url); } } }