Bitboxx.DNNModules.BBImageStory.Services.StoryController.GetStories C# (CSharp) Method

GetStories() private method

private GetStories ( int moId, int poId, bool ignoreTime = true ) : HttpResponseMessage
moId int
poId int
ignoreTime bool
return System.Net.Http.HttpResponseMessage
        public HttpResponseMessage GetStories(int moId, int poId, bool ignoreTime = true )
        {
            string imgType = "STORY";
            try
            {
                var stories = DbController.Instance.GetStories(moId, poId, imgType, System.Threading.Thread.CurrentThread.CurrentCulture.Name, ignoreTime);
                return Request.CreateResponse(HttpStatusCode.OK, stories);
            }
            catch (Exception ex)
            {
                return Request.CreateResponse(HttpStatusCode.InternalServerError, ex);
            }
        }