public CardService(IDatabaseRepository db = null, IScryfallRepository api = null) { _db = db ?? new DatabaseRepository(); _api = api ?? new ScryfallRepository(); }
public ScryfallService(IApiRepository api = null, IScryfallRepository repo = null) { _api = api ?? new ApiRepository(); _repo = repo ?? new ScryfallRepository(); }