예제 #1
0
        public IEnumerable <GameDto> GetGamesByPlatformType(string type)
        {
            var pipeline = new Pipeline <Game>();

            pipeline.Register(_filterFactory.MakeGamesByPlatformTypeFilter(type));
            return(UnitOfWork.Games.Find(pipeline)
                   .Select(g => g.ToDto()));
        }