@page "/gallery" @model DrSousan.Api.Pages.GalleryModel @section Head { @ViewData["Title"] }

گالری نتایج قبل و بعد

نمونه‌ای از نتایج واقعی درمان‌های انجام‌شده توسط دکتر سوسن آل‌طه. روی هر تصویر، قبل و بعد درمان قابل مشاهده است.

@if (Model.Categories.Any()) {
@foreach (var cat in Model.Categories) { }
}
@if (!Model.Items.Any()) {

هنوز نمونه‌ای ثبت نشده است.

} else { @foreach (var item in Model.Items) { var hasBoth = !string.IsNullOrEmpty(item.BeforeImageUrl) && !string.IsNullOrEmpty(item.AfterImageUrl); var hasImg = !string.IsNullOrEmpty(item.ImageUrl);
@if (hasBoth) {
قبل از درمان @item.Caption
بعد از درمان @item.Caption
} else if (hasImg) { @item.Caption }
@if (hasBoth) {
قبل از درمانبعد از درمان
} @if (!string.IsNullOrEmpty(item.Caption)) {
@item.Caption
}
} }
رزرو نوبت و مشاوره
@section Scripts { }