Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 634aea9fb3 | |||
| 8ffd680a8c | |||
| 97e002404e |
@@ -67,7 +67,7 @@ public class StoresApplication(IStoreRepository storeRepository)
|
||||
mobile: updateStoreViewModel.Mobile,
|
||||
score: updateStoreViewModel.Score);
|
||||
|
||||
if (update.IsActive == true)
|
||||
if (updateStoreViewModel.IsActive == true)
|
||||
{
|
||||
update.Activate();
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
@(Html.Ub_DisplayStringWithTd(item.Name))
|
||||
@(Html.Ub_DisplayStringWithTd(item.Address))
|
||||
@(Html.Ub_DisplayStringWithTd(item.Mobile))
|
||||
@(Html.Ub_DisplayInteger(item.Score))
|
||||
@(Html.Ub_DisplayIntegerWithTd(item.Score))
|
||||
@(Html.Ub_DisplayBooleanWithTd(item.IsActive))
|
||||
<td>
|
||||
<div class="btn-group" role="group" aria-label="Basic example">
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
<script src="~/lib/jquery/dist/jquery.min.js"></script>
|
||||
<script src="~/lib/jquery-validation/dist/jquery.validate.min.js"></script>
|
||||
<script src="~/lib/jquery-validation-unobtrusive//dist/jquery.validate.unobtrusive.min.js"></script>
|
||||
<script src="~/lib/jquery-validation-unobtrusive/dist/jquery.validate.unobtrusive.min.js"></script>
|
||||
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="~/js/site.js" asp-append-version="true"></script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user