39 lines
989 B
Plaintext
39 lines
989 B
Plaintext
@using PolyclinicContracts.ViewModels
|
|
@model List<MedicamentViewModel>
|
|
@{
|
|
ViewData["Title"] = "Medicaments";
|
|
}
|
|
<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="CreateMedicament">Создать препарат</a>
|
|
</p>
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>
|
|
Номер
|
|
</th>
|
|
<th>
|
|
Название препарата
|
|
</th>
|
|
<th>
|
|
Комментарий
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
</tbody>
|
|
</table>
|
|
}
|
|
</div> |