자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public async Task <IActionResult> Get(Guid id) { try { var post = await _postServices.GetPostAsync(id); return(Ok(post)); } catch (Exception e) { _logger.LogError(e, e.Message); return(BadRequest()); } }