public IEnumerable <tAlbumType> takeAllType() { dbProjectMusicStoreEntities db = new dbProjectMusicStoreEntities(); var result = db.tAlbumTypes.Select(p => p).ToList(); return(result); }
public IEnumerable <tProductKind> takeAllKind() { dbProjectMusicStoreEntities db = new dbProjectMusicStoreEntities(); var result = db.tProductKinds.Select(p => p); return(result); }