using System.Collections.Generic; namespace DanieleMarotta.RiversongCodeShowcase { public interface IGameDatabase { void Add(int id, T asset) where T : class; T WithId(int id) where T : class; List OfType() where T : class; } }