자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public IActionResult UpdatePrimarySugar(int id, int drinkId) { try { _drinkRepository.UpdatePrimarySugar(id, drinkId); } catch (DbUpdateConcurrencyException) { return(Json(new { success = false })); } return(Json(new { success = true })); }