@using System.Drawing @using Blazorise.Extensions @using WatchIt.DTO.Models.Controllers.Photos.Photo @using WatchIt.Website.Components.Subcomponents.Common @inherits Component

Photos

@if (!_photoEditMode) { } else {
}
@if (!_photoEditMode) { if (_loaded) { if (!_photos.IsNullOrEmpty()) {
@foreach (PhotoResponse photo in _photos) {
@if (photo.Background is not null) {
background_icon
}
Upload: @(photo.UploadDate.ToString("g"))
}
} else {
Photo list is empty
} } else {
} } else {
@if (_photoEditId is null) {
}
}