Blog.Web.Api.Controllers.PostsController.GetMoreByTag C# (CSharp) Method

GetMoreByTag() private method

private GetMoreByTag ( string tagName, int skip ) : IHttpActionResult
tagName string
skip int
return IHttpActionResult
        public IHttpActionResult GetMoreByTag(string tagName, int skip)
        {
            try
            {
                var posts = _postsSvc.GetMorePostsByTag(tagName, skip) ?? new List<Post>();
                return Ok(posts);
            }
            catch (Exception ex)
            {
                _errorSignaler.SignalFromCurrentContext(ex);
                return BadRequest();
            }
        }