Blog.Web.Api.Controllers.CommentLikesController.Get C# (CSharp) 메소드

Get() 개인적인 메소드

private Get ( int commentId ) : IHttpActionResult
commentId int
리턴 IHttpActionResult
        public IHttpActionResult Get(int commentId)
        {
            try
            {
                var commentLikes = _service.Get(commentId);
                return Ok(commentLikes);

            }
            catch (Exception ex)
            {
                _errorSignaler.SignalFromCurrentContext(ex);
                return BadRequest();
            }
        }