private ArtistEditViewModel CreateArtistEditViewModel(int id, ArtistForEditContract editedArtist) { return(queries.Get(id, album => new ArtistEditViewModel(new ArtistContract(album, PermissionContext.LanguagePreference), PermissionContext, EntryPermissionManager.CanDelete(PermissionContext, album), editedArtist))); }