public IActionResult UpdateAllowOrder(int id) { try { _notifyPopupRepository.UpdateAllowOrder(id); } catch (DbUpdateConcurrencyException) { return(Json(new { success = false })); } return(Json(new { success = true })); }
public IActionResult UpdateAllowOrder(int id) { try { _notifyPopupRepository.UpdateAllowOrder(id); } catch (DbUpdateConcurrencyException) { return(Json(new { success = false })); } return(Json(new { success = true })); }