fixанул
This commit is contained in:
parent
17e0fdb0b9
commit
bc26bac348
@ -285,6 +285,7 @@ namespace DoctorApp.Controllers
|
||||
DrugName = name,
|
||||
Price = price,
|
||||
DrugMedicines = a,
|
||||
DateCreate = DateTime.Now,
|
||||
DoctorId = APIDoctor.Doctor.Id,
|
||||
});
|
||||
Response.Redirect("Drugs");
|
||||
|
@ -29,6 +29,9 @@
|
||||
<th>
|
||||
Цена
|
||||
</th>
|
||||
<th>
|
||||
Дата создания
|
||||
</th>
|
||||
<th>
|
||||
Удалить лекарство
|
||||
</th>
|
||||
@ -50,6 +53,9 @@
|
||||
@Html.DisplayFor(modelItem =>
|
||||
item.Price)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.DateCreate)
|
||||
</td>
|
||||
<td>
|
||||
<form method="post">
|
||||
<input type="text" title="id" name="id" value="@item.Id" hidden="hidden" />
|
||||
|
Loading…
Reference in New Issue
Block a user