자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public ActionResult <string> ActivateCustomer(int id) { try { _logger.LogInformation("Received patch Customer request"); _customerServices.ActivateCustomer(id); return(Ok("OK")); } catch (Exception exception) { _logger.LogError(exception, exception.Message); return(new StatusCodeResult(500)); } }