public override void OnInitSmall(Wildcat.DB.System.Block block) { var parent = (Block.Artist)Parent; Model = parent.Model.GetAlbums(); State = BlockState.Small; }
public Collection.Album GetAlbums() { var col = new Collection.Album(); var rep = new Repository.AlbumRepository(); return rep.GetByArtistName(name); }