public HttpResponseMessage GetImagesByStory(int stId)
{
string imgType = "STORY";
try
{
IEnumerable<ImageLocInfo> images = DbController.Instance.GetImagesByForeign(stId, imgType.ToUpper(), System.Threading.Thread.CurrentThread.CurrentCulture.Name);
return Request.CreateResponse(HttpStatusCode.OK, images);
}
catch (Exception ex)
{
return Request.CreateResponse(HttpStatusCode.InternalServerError, ex);
}
}