fix:bog store
This commit is contained in:
@ -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">
|
||||
|
||||
Reference in New Issue
Block a user