2024-04-30 16:21:11 +04:00
|
|
|
@using PolyclinicContracts.ViewModels
|
|
|
|
@model List<RecipeViewModel>
|
2024-04-30 12:14:43 +04:00
|
|
|
@{
|
2024-04-30 16:21:11 +04:00
|
|
|
ViewData["Title"] = "Recipes";
|
2024-04-30 12:14:43 +04:00
|
|
|
}
|
2024-04-30 16:21:11 +04:00
|
|
|
<div class="text-center">
|
|
|
|
<h1 class="display-4">Рецепты</h1>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="text-center">
|
|
|
|
@{
|
|
|
|
// if (Model == null)
|
|
|
|
// {
|
|
|
|
// <h3 class="display-4">Авторизируйтесь</h3>
|
|
|
|
// return;
|
|
|
|
// }
|
|
|
|
<p>
|
|
|
|
<a asp-action="CreateRecipe">Создать рецепт</a>
|
|
|
|
</p>
|
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>
|
|
|
|
Номер
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
Количество процедур
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
Комментарий
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<td>
|
|
|
|
1
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
4
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
Вот столько процедур делайте
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
}
|
|
|
|
</div>
|