public SongListsByCategoryContract(SongListFeaturedCategory category, IEnumerable<SongList> lists, IUserPermissionContext permissionContext) {

			Category = category;
			Lists = lists.Select(l => new SongListContract(l, permissionContext)).ToArray();

		}
Пример #2
0
 public SongListsByCategoryContract(SongListFeaturedCategory category, IEnumerable <SongList> lists, IUserPermissionContext permissionContext)
 {
     Category = category;
     Lists    = lists.Select(l => new SongListContract(l, permissionContext)).ToArray();
 }