public SerieDetailView Handle(int serieId)
        {
            var serie = _context.Series.FirstOrDefault(g => g.Id == serieId);

            if (serie == null)
            {
                throw new Exception($"No serie found with id {serieId}");
            }

            var view = new SerieDetailView
            {
                Created    = serie.Created,
                Id         = serie.Id,
                Name       = serie.Name,
                Published  = serie.Published,
                SerieItems = (from i in serie.SerieItems
                              select new SerieItemDetailView
                {
                    Created = i.Created,
                    Id = i.Id,
                    Location = i.Location,
                    Rank = i.Rank
                }).AsEnumerable(),
                ProjectName = serie.Project?.Name,
                ProjectId   = serie.ProjectId
            };

            return(view);
        }
        public SerieDetailView Handle()
        {
            SerieDetailView view = null;

            if (ProjectName.HasValue())
            {
                view = LoadSerieByProject();
            }
            else
            {
                view = LoadSerie();
            }

            return(view);
        }