public static void GetAlbumPhotos(AlbumType albumType, string albumId, long userOrGroupId, bool isGroup, int offset, int count, Action <BackendResult <PhotosListWithCount, ResultCode> > callback) { PhotosService current = PhotosService.Current; switch (albumType) { case AlbumType.AllPhotos: current.GetAllPhotos(userOrGroupId, isGroup, offset, count, callback); break; case AlbumType.ProfilePhotos: current.GetProfilePhotos(userOrGroupId, offset, count, callback); break; case AlbumType.PhotosWithUser: current.GetUserPhotos(userOrGroupId, offset, count, callback); break; case AlbumType.WallPhotos: current.GetWallPhotos(userOrGroupId, isGroup, offset, count, callback); break; case AlbumType.SavedPhotos: current.GetSavedPhotos(userOrGroupId, isGroup, offset, count, callback); break; case AlbumType.NormalAlbum: current.GetAlbumPhotos(userOrGroupId, isGroup, albumId, offset, count, callback); break; } }