public AlbumPhotos(string title, string description, string ownerId, DomainPhotos photos) { Title = title; Description = description; OwnerId = ownerId; Photos = photos; }
private DomainPhotos RemoveOptedOutUserPhotos(DomainPhotos domainPhotos) { var optedOutUserIds = _userService.GetOptoutUserIds(); var filteredPhotos = domainPhotos.Photos .Where(photo => !optedOutUserIds.Contains(photo.AuthorId)) .ToList(); return(new DomainPhotos(filteredPhotos, domainPhotos.Page, domainPhotos.Pages)); }
public DomainUserPhotos(DomainUser user, DomainPhotos photos) { User = user; Photos = photos; }
public DomainGroup(string groupName, DomainPhotos photos) { GroupName = groupName; Photos = photos; }