public PartialViewResult DetailedView(int? albumKey)
        {
            var result = new AlbumDetailedViewModel();
            if (albumKey.HasValue)
            {
                try
                {
                    Album album = this._imageAlbumService.GetAlbumByKey(albumKey.Value);
                    if (album != null)
                    {
                        result = this._albumMapper.BuildDetailed(album);
                    }
                }
                catch (Exception ex)
                {
                    this.TempData[Constants.TempDataErrorMessage] = ex.Message;
                    return this.PartialView("_ErrorModal");
                }
            }

            return this.PartialView("_NavigationBarDetailedView", result);
        }
        public AlbumDetailedViewModel BuildDetailed(Album album)
        {
            if (album == null)
            {
                throw new ArgumentNullException("album");
            }

            var result = new AlbumDetailedViewModel();
            result.CreationDate = album.CreationDate;
            result.ImageNumber = album.ImageNumber;
            result.Name = album.Name;
            result.Description = album.Description;
            result.Key = album.Key;

            return result;
        }