rework news downloading

This commit is contained in:
Luke Pulverenti
2014-01-18 23:25:01 -05:00
parent 18a9720857
commit d2cae40128
8 changed files with 182 additions and 92 deletions

View File

@@ -6,7 +6,7 @@ using ServiceStack;
namespace MediaBrowser.Api
{
[Route("/News/Product", "GET")]
[Api(Description = "Gets search hints based on a search term")]
[Api(Description = "Gets the latest product news.")]
public class GetProductNews : IReturn<QueryResult<NewsItem>>
{
/// <summary>
@@ -40,7 +40,7 @@ namespace MediaBrowser.Api
StartIndex = request.StartIndex,
Limit = request.Limit
}).Result;
});
return ToOptimizedResult(result);
}